From 35cf62850cda3f3482cd9764e60100573709f258 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 9 Mar 2012 11:49:34 -0600 Subject: Fix typo in test_arch_for_command Signed-off-by: Jack Nagel --- Library/Homebrew/test/test_utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test') 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) -- cgit v1.2.3