Actually make the assertion we care about

This commit is contained in:
Jack Nagel 2013-06-24 08:52:41 -05:00
parent 6b5e73a2c3
commit 59e6249862

View File

@ -64,7 +64,10 @@ class DependencyExpansionTests < Test::Unit::TestCase
@baz2 = build_dep(:baz, ['option'])
@deps << @foo2 << @baz2
deps = [@foo2, @bar, @baz2, @qux]
assert_equal deps, Dependency.expand(@f)
deps.zip(Dependency.expand(@f)) do |expected, actual|
assert_equal expected.tags, actual.tags
assert_equal expected, actual
end
end
def test_merger_preserves_env_proc