Skip to content

Commit

Permalink
Allow more option in test result
Browse files Browse the repository at this point in the history
  • Loading branch information
ohler55 committed Oct 13, 2024
1 parent 160e1f9 commit 730455f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_compat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 730455f

Please sign in to comment.