add the other test back in
This commit is contained in:
parent
57c2c560a1
commit
0029ad2929
@ -76,6 +76,11 @@ class DependencyCollectorTests < Homebrew::TestCase
|
|||||||
assert_predicate dep, :optional?
|
assert_predicate dep, :optional?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_ant_dep
|
||||||
|
@d.add :ant => :build
|
||||||
|
assert_equal find_dependency("ant"), Dependency.new("ant", [:build])
|
||||||
|
end
|
||||||
|
|
||||||
def test_raises_typeerror_for_unknown_classes
|
def test_raises_typeerror_for_unknown_classes
|
||||||
assert_raises(TypeError) { @d.add(Class.new) }
|
assert_raises(TypeError) { @d.add(Class.new) }
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user