aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-12-30 20:33:46 +0000
committerDominyk Tiller2016-01-03 19:06:26 +0000
commit49f7c8d6a97099939d120504f441d7a3a17886c5 (patch)
treeaefed42a9a74059394a832f8a74c77e8a3160edd /Library
parent15fe924484f22a295f9b024b68f946e410c5531e (diff)
downloadbrew-49f7c8d6a97099939d120504f441d7a3a17886c5.tar.bz2
test_intergration_cmds: paren-wrap regex
Fixes this `brew readall` warning: test_integration_cmds.rb:116: warning: ambiguous first argument; put parentheses or even spaces
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 3242362e2..fdec1858b 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -113,8 +113,8 @@ class IntegrationCommandTests < Homebrew::TestCase
end
EOS
HOMEBREW_CACHE.cd do
- assert_match /testball-0\.1.*\.bottle\.tar\.gz/,
- cmd_output("bottle", "--no-revision", "testball")
+ assert_match(/testball-0\.1.*\.bottle\.tar\.gz/,
+ cmd_output("bottle", "--no-revision", "testball"))
end
ensure
cmd("uninstall", "--force", "testball")