Sha256: d679a2fd87517fe114b076e971baf8cde4bfcf75b3a77aa737a570426b596b5b
Contents?: true
Size: 346 Bytes
Versions: 19
Compression:
Stored size: 346 Bytes
Contents
require 'rubygems/test_case' class TestGemResolverRequirementList < Gem::TestCase def setup super @list = Gem::Resolver::RequirementList.new end def test_each dep = Gem::Dependency.new "a", "= 1" req = Gem::Resolver::DependencyRequest.new(dep, nil) @list.add req assert_equal [req], @list.each.to_a end end
Version data entries
19 entries across 19 versions & 1 rubygems