aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rwxr-xr-xLibrary/Homebrew/unittest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/unittest.rb b/Library/Homebrew/unittest.rb
index 6c1239c7f..fb9ac0cc9 100755
--- a/Library/Homebrew/unittest.rb
+++ b/Library/Homebrew/unittest.rb
@@ -447,7 +447,7 @@ class BeerTasting <Test::Unit::TestCase
def test_arch_for_command
arches=arch_for_command '/usr/bin/svn'
- if `sw_vers -productVersion` =~ /10\.(\d)\.(\d+)/ and $1.to_i >= 6
+ if `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i >= 6
assert_equal 3, arches.count
assert arches.include?(:x86_64)
else