Sha256: 96ec1a8618b6e3426399e65f275f685e206c4c1e478f799313479f50d7c2c016
Contents?: true
Size: 376 Bytes
Versions: 30
Compression:
Stored size: 376 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
30 entries across 30 versions & 2 rubygems