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
-rw-r--r--test/json/test_json_rails.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/json/test_json.rb b/test/json/test_json.rb
index 02da6d4e7a5..ae77f7b14fb 100755
--- a/test/json/test_json.rb
+++ b/test/json/test_json.rb
@@ -134,7 +134,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 95b61662616..2650db68f08 100755
--- a/test/json/test_json_addition.rb
+++ b/test/json/test_json_addition.rb
@@ -17,7 +17,7 @@ class TC_JSONAddition < Test::Unit::TestCase
def ==(other)
a == other.a
end
-
+
def self.json_create(object)
new(*object['args'])
end
diff --git a/test/json/test_json_rails.rb b/test/json/test_json_rails.rb
index 52dc29f3882..91eb9ee9ea0 100644
--- a/test/json/test_json_rails.rb
+++ b/test/json/test_json_rails.rb
@@ -17,7 +17,7 @@ class TC_JSONRails < Test::Unit::TestCase
def ==(other)
a == other.a
end
-
+
def self.json_create(object)
new(*object['args'])
end