aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2012-03-09 11:49:34 -0600
committerJack Nagel2012-03-09 11:50:27 -0600
commitfe25e4f7ec27ba66ad6eab2e26c9567e2419cc81 (patch)
treed7df34cf6310e9de1d693a921b2933c42f1384e2 /Library/Homebrew/test
parent981605d199d8ed0b83c2c19aea7e3839c56cca9b (diff)
downloadbrew-fe25e4f7ec27ba66ad6eab2e26c9567e2419cc81.tar.bz2
Fix typo in test_arch_for_command
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb
index ca8016c27..5bf53b95d 100644
--- a/Library/Homebrew/test/test_utils.rb
+++ b/Library/Homebrew/test/test_utils.rb
@@ -20,7 +20,7 @@ class UtilTests < Test::Unit::TestCase
if `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i >= 7
assert_equal 2, arches.length
assert arches.include?(:x86_64)
- elsif `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i = 6
+ elsif `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i == 6
assert_equal 3, arches.length
assert arches.include?(:x86_64)
assert arches.include?(:ppc7400)