diff options
author | Florian Frank <flori@ping.de> | 2011-07-08 16:29:21 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-07-08 16:32:06 +0200 |
commit | f7f78896607b6f6226cdee4ae76de922d4583d32 (patch) | |
tree | fb8b18ce241984a125d881c29fd317a007358bd9 /tests | |
parent | dcfa15b6a1179a29d4ee7b3ff16807fa9b1f96a4 (diff) | |
parent | 24f84d63beef15eafd2e59df3d809f1928774d00 (diff) | |
download | json-f7f78896607b6f6226cdee4ae76de922d4583d32.tar.gz |
Merge branch 'master' of https://github.com/nobu/json into development
Conflicts:
ext/json/ext/parser/parser.c
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_json.rb | 2 | ||||
-rwxr-xr-x | tests/test_json_addition.rb | 2 |
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 |