1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

strip trailing spaces [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2020-10-20 23:52:03 +09:00
parent 512752ba19
commit d915e7ee00
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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