Skip to content

Commit 8864f94

Browse files
committed
Fix test issue on Ruby 3.4+
1 parent b3fa4a4 commit 8864f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/core_ext/string/to_i_with_method_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
end
3434

3535
it 'raises NoMethodError on private methods' do
36-
expect { "1.raise".to_i_with_method }.to raise_error(NoMethodError, /private method `raise' called/)
36+
expect { "1.raise".to_i_with_method }.to raise_error(NoMethodError, /private method [`']raise' called/)
3737
end
3838
end
3939

0 commit comments

Comments
 (0)