aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-09-05 14:33:56 +0800
committerXu Cheng2015-09-06 20:15:38 +0800
commitdb2552828b9008d848e55b5e9e1442521d7ce593 (patch)
treeed5be2dab6b13044db27f42ad7519f6c06e16c51 /Library
parentb38498d9dc72f3be61465d72f180e2c024832748 (diff)
downloadbrew-db2552828b9008d848e55b5e9e1442521d7ce593.tar.bz2
test_integration_cmds: fix syntax warning
Library/Homebrew/test/test_integration_cmds.rb:68: warning: ambiguous first argument; put parentheses or even spaces
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 19a2372d7..d72cc16b5 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -65,7 +65,7 @@ class IntegrationCommandTests < Homebrew::TestCase
end
def test_env
- assert_match /CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]/,
+ assert_match %r{CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]},
cmd("--env")
end