Sha256: 72e6a4f0ed864b9925da6bc354dd01fbb9489f7ab251e07a76dfb9fef01e8c7a
Contents?: true
Size: 380 Bytes
Versions: 12
Compression:
Stored size: 380 Bytes
Contents
require_relative 'test_helper' class NullFinderTest < Minitest::Test class FirstNameError < NameError; end def setup @error = assert_raises(FirstNameError) do raise FirstNameError, "Other name error" end end def test_did_you_mean? assert_nil @error.did_you_mean? end def test_message refute_includes "Did you mean?", @error.message end end
Version data entries
12 entries across 12 versions & 1 rubygems