From 8e9eae695adff40df52e667db30dd4fc318615ef Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 14 Oct 2016 20:08:05 +0200 Subject: Use `()` as delimiters for `%Q` and `%q` literals. --- Library/Homebrew/cask/test/cask/artifact/uninstall_test.rb | 6 +++--- Library/Homebrew/cask/test/cask/artifact/zap_test.rb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Library/Homebrew/cask/test') diff --git a/Library/Homebrew/cask/test/cask/artifact/uninstall_test.rb b/Library/Homebrew/cask/test/cask/artifact/uninstall_test.rb index 4ab2dc3d2..08c179a53 100644 --- a/Library/Homebrew/cask/test/cask/artifact/uninstall_test.rb +++ b/Library/Homebrew/cask/test/cask/artifact/uninstall_test.rb @@ -201,10 +201,10 @@ describe Hbc::Artifact::Uninstall do let(:bundle_id) { "my.fancy.package.app" } let(:count_processes_script) { 'tell application "System Events" to count processes ' + - %Q{whose bundle identifier is "#{bundle_id}"} + %Q(whose bundle identifier is "#{bundle_id}") } let(:quit_application_script) { - %Q{tell application id "#{bundle_id}" to quit} + %Q(tell application id "#{bundle_id}" to quit) } it "can uninstall" do @@ -227,7 +227,7 @@ describe Hbc::Artifact::Uninstall do let(:unix_pids) { [12_345, 67_890] } let(:get_unix_pids_script) { 'tell application "System Events" to get the unix id of every process ' + - %Q{whose bundle identifier is "#{bundle_id}"} + %Q(whose bundle identifier is "#{bundle_id}") } it "can uninstall" do diff --git a/Library/Homebrew/cask/test/cask/artifact/zap_test.rb b/Library/Homebrew/cask/test/cask/artifact/zap_test.rb index 489299eca..da80f7bde 100644 --- a/Library/Homebrew/cask/test/cask/artifact/zap_test.rb +++ b/Library/Homebrew/cask/test/cask/artifact/zap_test.rb @@ -202,10 +202,10 @@ describe Hbc::Artifact::Zap do let(:bundle_id) { "my.fancy.package.app" } let(:count_processes_script) { 'tell application "System Events" to count processes ' + - %Q{whose bundle identifier is "#{bundle_id}"} + %Q(whose bundle identifier is "#{bundle_id}") } let(:quit_application_script) { - %Q{tell application id "#{bundle_id}" to quit} + %Q(tell application id "#{bundle_id}" to quit) } it "can zap" do @@ -228,7 +228,7 @@ describe Hbc::Artifact::Zap do let(:unix_pids) { [12_345, 67_890] } let(:get_unix_pids_script) { 'tell application "System Events" to get the unix id of every process ' + - %Q{whose bundle identifier is "#{bundle_id}"} + %Q(whose bundle identifier is "#{bundle_id}") } it "can zap" do -- cgit v1.2.3