diff options
| author | Markus Reiter | 2016-10-14 20:08:05 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-23 14:32:03 +0200 |
| commit | 8e9eae695adff40df52e667db30dd4fc318615ef (patch) | |
| tree | 416e080ab6b639042991812f2c6c75a3ab98e4fd /Library/Homebrew/cask/test | |
| parent | 1a0f8b8a02cfe8795e2128fb294e97bb67fb03f0 (diff) | |
| download | brew-8e9eae695adff40df52e667db30dd4fc318615ef.tar.bz2 | |
Use `()` as delimiters for `%Q` and `%q` literals.
Diffstat (limited to 'Library/Homebrew/cask/test')
| -rw-r--r-- | Library/Homebrew/cask/test/cask/artifact/uninstall_test.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/cask/test/cask/artifact/zap_test.rb | 6 |
2 files changed, 6 insertions, 6 deletions
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 |
