diff options
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/unittest.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/unittest.rb b/Library/Homebrew/unittest.rb index f7b3ad2c7..b4fe731c9 100755 --- a/Library/Homebrew/unittest.rb +++ b/Library/Homebrew/unittest.rb @@ -135,7 +135,7 @@ module ExtendArgvPlusYeast @named=nil @formulae=nil @kegs=nil - while ARGV.count > 0 + while ARGV.length > 0 ARGV.shift end end @@ -473,10 +473,10 @@ class BeerTasting <Test::Unit::TestCase def test_arch_for_command arches=arch_for_command '/usr/bin/svn' if `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i >= 6 - assert_equal 3, arches.count + assert_equal 3, arches.length assert arches.include?(:x86_64) else - assert_equal 2, arches.count + assert_equal 2, arches.length end assert arches.include?(:i386) assert arches.include?(:ppc7400) @@ -630,7 +630,7 @@ end __END__ update_git_pull_output_without_formulae_changes: | - remote: Counting objects: 58, done. + remote: lengthing objects: 58, done. remote: Compressing objects: 100% (35/35), done. remote: Total 39 (delta 20), reused 0 (delta 0) Unpacking objects: 100% (39/39), done. @@ -650,7 +650,7 @@ update_git_pull_output_without_formulae_changes: | delete mode 100644 Library/Homebrew/hw.model.c delete mode 100644 Library/Homebrew/hw.model.rb update_git_pull_output_with_formulae_changes: | - remote: Counting objects: 58, done. + remote: lengthing objects: 58, done. remote: Compressing objects: 100% (35/35), done. remote: Total 39 (delta 20), reused 0 (delta 0) Unpacking objects: 100% (39/39), done. |
