Sha256: 2f31cc04d9d0421845a1a885cb62d8076b9d4d131d5d09a504b18f0fb90b54e6
Contents?: true
Size: 338 Bytes
Versions: 21
Compression:
Stored size: 338 Bytes
Contents
require 'rubygems/test_case' class TestGemSourceFetchProblem < Gem::TestCase def test_exception source = Gem::Source.new @gem_repo error = RuntimeError.new 'test' sf = Gem::SourceFetchProblem.new source, error e = assert_raises RuntimeError do raise sf end assert_equal 'test', e.message end end
Version data entries
21 entries across 21 versions & 1 rubygems