summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-20 23:52:03 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-20 23:52:19 +0900
commitd915e7ee0095727e63104c53b1adc7a70bae6522 (patch)
tree57ae6a22fa9fab5361917a560da6cb0b5318ec4f /test/json
parent512752ba19c960daf1d866f96fb33f3c0b2d7a75 (diff)
strip trailing spaces [ci skip]
Diffstat (limited to 'test/json')
-rw-r--r--test/json/json_parser_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_parser_test.rb b/test/json/json_parser_test.rb
index e29f3f1..c7f1a5f 100644
--- a/test/json/json_parser_test.rb
+++ b/test/json/json_parser_test.rb
@@ -222,7 +222,7 @@ class JSONParserTest < Test::Unit::TestCase
assert_predicate parse('{}', :freeze => true), :frozen?
assert_predicate parse('[]', :freeze => true), :frozen?
assert_predicate parse('"foo"', :freeze => true), :frozen?
-
+
if string_deduplication_available?
assert_same -'foo', parse('"foo"', :freeze => true)
assert_same -'foo', parse('{"foo": 1}', :freeze => true).keys.first