Sha256: d79676c8bf02165f60bcec185f4180eed2711d672e6d68dfcd0e70e285e15dec
Contents?: true
Size: 605 Bytes
Versions: 19
Compression:
Stored size: 605 Bytes
Contents
require 'rubygems/test_case' class TestGemDependencyResolutionError < Gem::TestCase def setup super @DR = Gem::Resolver @spec = util_spec 'a', 2 @a1_req = @DR::DependencyRequest.new dep('a', '= 1'), nil @a2_req = @DR::DependencyRequest.new dep('a', '= 2'), nil @activated = @DR::ActivationRequest.new @spec, @a2_req @conflict = @DR::Conflict.new @a1_req, @activated @error = Gem::DependencyResolutionError.new @conflict end def test_message assert_match %r%^conflicting dependencies a \(= 1\) and a \(= 2\)$%, @error.message end end
Version data entries
19 entries across 19 versions & 1 rubygems