[ruby/json] Resync

This commit is contained in:
Jean Boussier 2024-11-05 16:35:58 +01:00
parent e8522f06b5
commit ca8f21ace8
Notes: git 2024-11-05 17:00:58 +00:00
18 changed files with 2167 additions and 866 deletions

View file

@ -52,11 +52,11 @@ class JSONCommonInterfaceTest < Test::Unit::TestCase
end
def test_generator
assert_match(/::Generator\z/, JSON.generator.name)
assert_match(/::(TruffleRuby)?Generator\z/, JSON.generator.name)
end
def test_state
assert_match(/::Generator::State\z/, JSON.state.name)
assert_match(/::(TruffleRuby)?Generator::State\z/, JSON.state.name)
end
def test_create_id