From 49f7c8d6a97099939d120504f441d7a3a17886c5 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 30 Dec 2015 20:33:46 +0000 Subject: 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 --- Library/Homebrew/test/test_integration_cmds.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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") -- cgit v1.2.3