8000 Fix spec NoMethodError message for .allocator on truffle Ruby · ruby/bigdecimal@5c9e042 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 5c9e042

Browse files
committed
Fix spec NoMethodError message for .allocator on truffle Ruby
1 parent a015c8b commit 5c9e042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bigdecimal/test_bigdecimal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def test_s_ver
297297

298298
def test_s_allocate
299299
if RUBY_ENGINE == "truffleruby"
300-
assert_raise_with_message(NoMethodError, /undefined.+allocate.+for BigDecimal/) { BigDecimal.allocate }
300+
assert_raise_with_message(NoMethodError, /undefined.+allocate.+for.+BigDecimal/) { BigDecimal.allocate }
301301
else
302302
assert_raise_with_message(TypeError, /allocator undefined for BigDecimal/) { BigDecimal.allocate }
303303
end

0 commit comments

Comments
 (0)
0