Sha256: ecbbfc011809a6b1dd4e6190670bb182fcbd26cb34bdeca61d78cffa1ddaa8a2
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true require_relative "helper" class TestGemUnsatisfiableDependencyError < Gem::TestCase def setup super @a_dep = dep "a", "~> 1" @req = Gem::Resolver::DependencyRequest.new @a_dep, nil @e = Gem::UnsatisfiableDependencyError.new @req end def test_errors assert_equal [], @e.errors @e.errors << :a assert_equal [:a], @e.errors end def test_name assert_equal "a", @e.name end def test_version assert_equal @a_dep.requirement, @e.version end end
Version data entries
5 entries across 5 versions & 1 rubygems