summaryrefslogtreecommitdiff
path: root/test/json/json_common_interface_test.rb
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-11-05 16:35:58 +0100
committerJean Boussier <[email protected]>2024-11-05 18:00:36 +0100
commitca8f21ace86e9c7ab184b3f0087ff458c06b178c (patch)
treee5a4c05ba4bff8d9dc19963936d2c81248200881 /test/json/json_common_interface_test.rb
parente8522f06b51f86214d28259118c736ac8951d8cd (diff)
[ruby/json] Resync
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12003
Diffstat (limited to 'test/json/json_common_interface_test.rb')
-rw-r--r--test/json/json_common_interface_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/json/json_common_interface_test.rb b/test/json/json_common_interface_test.rb
index e552412bfd..6165cc0411 100644
--- a/test/json/json_common_interface_test.rb
+++ b/test/json/json_common_interface_test.rb
@@ -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