summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2011-07-08 17:25:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2011-07-08 17:25:17 +0900
commit24f84d63beef15eafd2e59df3d809f1928774d00 (patch)
treed6f214810ad4799af45b8b780ad13c076d80995d /tests
parent10c6bfba2f03577ad3a5b7b1abff31a35378f45e (diff)
downloadjson-24f84d63beef15eafd2e59df3d809f1928774d00.tar.gz
remove trailing spaces.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_json.rb2
-rwxr-xr-xtests/test_json_addition.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_json.rb b/tests/test_json.rb
index 825a507..b367e90 100755
--- a/tests/test_json.rb
+++ b/tests/test_json.rb
@@ -150,7 +150,7 @@ class TC_JSON < Test::Unit::TestCase
assert_equal(@ary,
parse('[[1],["foo"],[3.14],[47.11e+2],[2718.0E-3],[null],[[1,-2,3]]'\
',[false],[true]]'))
- assert_equal(@ary, parse(%Q{ [ [1] , ["foo"] , [3.14] \t , [47.11e+2]
+ assert_equal(@ary, parse(%Q{ [ [1] , ["foo"] , [3.14] \t , [47.11e+2]\s
, [2718.0E-3 ],\r[ null] , [[1, -2, 3 ]], [false ],[ true]\n ] }))
end
diff --git a/tests/test_json_addition.rb b/tests/test_json_addition.rb
index c8bfb41..a8181e8 100755
--- a/tests/test_json_addition.rb
+++ b/tests/test_json_addition.rb
@@ -19,7 +19,7 @@ class TC_JSONAddition < Test::Unit::TestCase
def ==(other)
a == other.a
end
-
+
def self.json_create(object)
new(*object['args'])
end