tests: expect that mirror lists are empty, not nil
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
9a72fecf84
commit
4ffc06f988
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user