Relax assertion pattern for ruby repo
This commit is contained in:
parent
3bbb52f5c5
commit
09b9468873
Notes:
git
2025-03-28 03:45:11 +00:00
@ -152,7 +152,7 @@ class JSONAdditionTest < Test::Unit::TestCase
|
||||
|
||||
def test_deprecated_load_create_additions
|
||||
pattern = /json_addition_test\.rb.*use JSON\.unsafe_load/
|
||||
if RUBY_ENGINE == 'truffleruby'
|
||||
if RUBY_ENGINE == 'truffleruby' || File.basename($0) != 'json_addition_test.rb'
|
||||
pattern = /use JSON\.unsafe_load/
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user