aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBob W. Hogg2016-09-22 17:36:57 -0400
committerBob W. Hogg2016-09-22 17:36:57 -0400
commit0029ad2929d1ece249047b381299e63ba9b858fa (patch)
tree91013e05ab4f1473c3be699c8cedcddcda4b6dd5 /Library
parent57c2c560a123157d4fd8e00b31a42ceff2f73eaf (diff)
downloadbrew-0029ad2929d1ece249047b381299e63ba9b858fa.tar.bz2
add the other test back in
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_dependency_collector.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_dependency_collector.rb b/Library/Homebrew/test/test_dependency_collector.rb
index a94b4959e..61b13d18b 100644
--- a/Library/Homebrew/test/test_dependency_collector.rb
+++ b/Library/Homebrew/test/test_dependency_collector.rb
@@ -76,6 +76,11 @@ class DependencyCollectorTests < Homebrew::TestCase
assert_predicate dep, :optional?
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
assert_raises(TypeError) { @d.add(Class.new) }
end