diff options
Diffstat (limited to 'test/psych/test_json_tree.rb')
-rw-r--r-- | test/psych/test_json_tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_json_tree.rb b/test/psych/test_json_tree.rb index 60f8321e68..a23fc1ac8f 100644 --- a/test/psych/test_json_tree.rb +++ b/test/psych/test_json_tree.rb @@ -45,7 +45,7 @@ module Psych def test_list_to_json list = %w{ one two } json = Psych.to_json(list) - assert_match(/]$/, json) + assert_match(/\]$/, json) assert_match(/^\[/, json) assert_match(/"one"/, json) assert_match(/"two"/, json) |