tests: expect that mirror lists are empty, not nil

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-07-05 20:33:28 -05:00
parent 9a72fecf84
commit 4ffc06f988

View File

@ -118,9 +118,9 @@ class FormulaTests < Test::Unit::TestCase
assert_nil f.devel.sha1
assert_equal 1, f.stable.mirrors.length
assert_nil f.bottle.mirrors
assert f.bottle.mirrors.empty?
assert_equal 1, f.devel.mirrors.length
assert_nil f.head.mirrors
assert f.head.mirrors.empty?
assert !f.stable.explicit_version?
assert !f.bottle.explicit_version?