aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/testing_env.rb
diff options
context:
space:
mode:
authorTsukasa OMOTO2014-05-14 16:43:52 +0900
committerJack Nagel2014-05-14 11:12:51 -0500
commitd1f15e967b51ea9eb7538551ab39f4039b44239b (patch)
tree4787de3cad726c7f8bf96f0ba0cb0e167fce3515 /Library/Homebrew/test/testing_env.rb
parent858da0063d2fca5748e62c74ab8851baa638574c (diff)
downloadbrew-d1f15e967b51ea9eb7538551ab39f4039b44239b.tar.bz2
Taps: cleanup regexps around Taps
Closes Homebrew/homebrew#29139. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
-rw-r--r--Library/Homebrew/test/testing_env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb
index 64f1ccfd3..2fb78b974 100644
--- a/Library/Homebrew/test/testing_env.rb
+++ b/Library/Homebrew/test/testing_env.rb
@@ -27,7 +27,7 @@ HOMEBREW_WWW = 'http://example.com'
HOMEBREW_CURL_ARGS = '-fsLA'
HOMEBREW_VERSION = '0.9-test'
-HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w-]+)$}
+require 'tap_constants'
RUBY_BIN = Pathname.new(RbConfig::CONFIG['bindir'])
RUBY_PATH = RUBY_BIN + RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']