Sha256: 4b6706ed881bc78c17412042f8d7a88c9b5bef73bb4f39d383e0a1dc95e25a85
Contents?: true
Size: 375 Bytes
Versions: 21
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true 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
21 entries across 21 versions & 1 rubygems