mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
tests: expect that mirror lists are empty, not nil
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
a76bce6898
commit
0a82dd690b
1 file changed
+2
-2
@@ -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?
|
||||
|
||||
Reference in new issue
Block a user