diff options
Diffstat (limited to 'Library/Homebrew/test/test_bottle_collector.rb')
| -rw-r--r-- | Library/Homebrew/test/test_bottle_collector.rb | 16 | 
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Homebrew/test/test_bottle_collector.rb b/Library/Homebrew/test/test_bottle_collector.rb index 34efe3efd..2621d1272 100644 --- a/Library/Homebrew/test/test_bottle_collector.rb +++ b/Library/Homebrew/test/test_bottle_collector.rb @@ -1,5 +1,5 @@ -require 'testing_env' -require 'bottles' +require "testing_env" +require "bottles"  class BottleCollectorTests < Homebrew::TestCase    def setup @@ -13,7 +13,7 @@ class BottleCollectorTests < Homebrew::TestCase    def test_collector_returns_passed_tags      @collector[:lion] = "foo"      @collector[:mountain_lion] = "bar" -    assert_equal ['bar', :mountain_lion], checksum_for(:mountain_lion) +    assert_equal ["bar", :mountain_lion], checksum_for(:mountain_lion)    end    def test_collector_returns_when_empty @@ -32,21 +32,21 @@ class BottleCollectorTests < Homebrew::TestCase    def test_collector_finds_or_later_tags      @collector[:lion_or_later] = "foo" -    assert_equal ['foo', :lion_or_later], checksum_for(:mountain_lion) +    assert_equal ["foo", :lion_or_later], checksum_for(:mountain_lion)      assert_nil checksum_for(:snow_leopard)    end    def test_collector_prefers_exact_matches      @collector[:lion_or_later] = "foo"      @collector[:mountain_lion] = "bar" -    assert_equal ['bar', :mountain_lion], checksum_for(:mountain_lion) +    assert_equal ["bar", :mountain_lion], checksum_for(:mountain_lion)    end    def test_collector_finds_altivec_tags      @collector[:tiger_altivec] = "foo" -    assert_equal ['foo', :tiger_altivec], checksum_for(:tiger_g4) -    assert_equal ['foo', :tiger_altivec], checksum_for(:tiger_g4e) -    assert_equal ['foo', :tiger_altivec], checksum_for(:tiger_g5) +    assert_equal ["foo", :tiger_altivec], checksum_for(:tiger_g4) +    assert_equal ["foo", :tiger_altivec], checksum_for(:tiger_g4e) +    assert_equal ["foo", :tiger_altivec], checksum_for(:tiger_g5)      assert_nil checksum_for(:tiger_g3)    end  end  | 
