We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a015c8b + 5c9e042 commit 344b65fCopy full SHA for 344b65f
test/bigdecimal/test_bigdecimal.rb
@@ -297,7 +297,7 @@ def test_s_ver
297
298
def test_s_allocate
299
if RUBY_ENGINE == "truffleruby"
300
- assert_raise_with_message(NoMethodError, /undefined.+allocate.+for BigDecimal/) { BigDecimal.allocate }
+ assert_raise_with_message(NoMethodError, /undefined.+allocate.+for.+BigDecimal/) { BigDecimal.allocate }
301
else
302
assert_raise_with_message(TypeError, /allocator undefined for BigDecimal/) { BigDecimal.allocate }
303
end
0 commit comments