summaryrefslogtreecommitdiff
path: root/test/psych/json/test_stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/json/test_stream.rb')
-rw-r--r--test/psych/json/test_stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/json/test_stream.rb b/test/psych/json/test_stream.rb
index 4690ad2f1e3..b0c33e6a2aa 100644
--- a/test/psych/json/test_stream.rb
+++ b/test/psych/json/test_stream.rb
@@ -65,7 +65,7 @@ module Psych
@stream.push list
json = @io.string
- assert_match(/]$/, json)
+ assert_match(/\]$/, json)
assert_match(/^--- \[/, json)
assert_match(/["]one["]/, json)
assert_match(/["]two["]/, json)