Skip to content

Commit e09d6dc

Browse files
committed
Stop checking exception message
This seems unnecessary given we look for the exception type. The reason I'm doing this is the message changed in Ruby 3.4.
1 parent c8d80fd commit e09d6dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/test_reader.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ def test_metadata_unknown_attribute
319319
e = assert_raises NoMethodError do
320320
reader.metadata.what
321321
end
322-
assert(e.message.include?('undefined method `what\''))
323322
reader.close
324323
end
325324

0 commit comments

Comments
 (0)