summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
Diffstat (limited to 'test/json')
-rwxr-xr-xtest/json/test_json.rb2
-rwxr-xr-xtest/json/test_json_addition.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/json/test_json.rb b/test/json/test_json.rb
index aea50485fca..4c724fd36e2 100755
--- a/test/json/test_json.rb
+++ b/test/json/test_json.rb
@@ -154,7 +154,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]
, [2718.0E-3 ],\r[ null] , [[1, -2, 3 ]], [false ],[ true]\n ] }))
end
diff --git a/test/json/test_json_addition.rb b/test/json/test_json_addition.rb
index 34f0a71b48b..36b89e5c35b 100755
--- a/test/json/test_json_addition.rb
+++ b/test/json/test_json_addition.rb
@@ -23,7 +23,7 @@ class TC_JSONAddition < Test::Unit::TestCase
def ==(other)
a == other.a
end
-
+
def self.json_create(object)
new(*object['args'])
end