Source: show | on GitHub
# File activesupport/test/whiny_nil_test.rb, line 5 def test_id nil.id rescue RuntimeError => nme assert_no_match(/nil:NilClass/, nme.message) assert_match(Regexp.new(nil.object_id.to_s), nme.message) end