8000
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.
1 parent a015c8b commit 5c9e042Copy full SHA for 5c9e042
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