From 730455fa5e49f5a4d327182b7fa20cb0d2b7a5c2 Mon Sep 17 00:00:00 2001 From: Peter Ohler Date: Sun, 13 Oct 2024 13:25:04 -0400 Subject: [PATCH] Allow more option in test result --- test/test_compat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_compat.rb b/test/test_compat.rb index e1ef5dca..c02c7b61 100755 --- a/test/test_compat.rb +++ b/test/test_compat.rb @@ -468,7 +468,7 @@ def test_range def test_arg_passing json = Oj.to_json(Argy.new(), :max_nesting => 40) - assert_equal(%|{"args":"[{:max_nesting=>40}]"}|, json) + assert_match(/.*max_nesting.*40.*/, json) end def test_max_nesting