aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-04-15 15:38:14 -0500
committerJack Nagel2014-04-15 15:39:10 -0500
commit46a11a2b26b375ff1676b6e336cbd153c1041371 (patch)
treea437329fcb8104ac25896fb0d129d1f9dd0f74a2 /Library/Homebrew
parent8d6c1358a2b2d99b6053a1ae25d49753588ba6b6 (diff)
downloadbrew-46a11a2b26b375ff1676b6e336cbd153c1041371.tar.bz2
Remove questionable test
This is already covered in test_mach.rb.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/test_utils.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb
index ae259c82e..c6989b318 100644
--- a/Library/Homebrew/test/test_utils.rb
+++ b/Library/Homebrew/test/test_utils.rb
@@ -1,37 +1,10 @@
require 'testing_env'
class UtilTests < Test::Unit::TestCase
-
def test_put_columns_empty
assert_nothing_raised do
# Issue #217 put columns with new results fails.
puts_columns []
end
end
-
- def test_arch_for_command
- # /usr/bin/svn only exists if the command-line tools are installed
- # Skip test on Xcode only systems
- return unless File.exist? '/usr/bin/svn'
-
- archs = archs_for_command '/usr/bin/svn'
- if `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i >= 9
- assert_equal 1, archs.length
- assert archs.include?(:x86_64)
- elsif `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i >= 7
- assert_equal 2, archs.length
- assert archs.include?(:x86_64)
- assert archs.include?(:i386)
- elsif `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i == 6
- assert_equal 3, archs.length
- assert archs.include?(:x86_64)
- assert archs.include?(:i386)
- assert archs.include?(:ppc7400)
- else
- assert_equal 2, archs.length
- assert archs.include?(:i386)
- assert archs.include?(:ppc7400)
- end
- end
-
end