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
This commit is contained in:
Dominyk Tiller 2015-12-30 20:33:46 +00:00
parent 15fe924484
commit 49f7c8d6a9

View File

@ -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")