summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClemens Fuchslocher <clemens@vakuumverpackt.de>2011-02-26 19:14:43 +0100
committerClemens Fuchslocher <clemens@vakuumverpackt.de>2011-02-26 19:29:06 +0100
commit813f1dea6d5bddbe545dca94792dbfe576e9f44e (patch)
tree079bafc9ff2a95d778a3cf91b9fbe2a38d2715b3 /tests
parent514d791dd8602ad1d70d45a824927aafe44e838c (diff)
downloadjson-813f1dea6d5bddbe545dca94792dbfe576e9f44e.tar.gz
flori/json#60: Incorrect pretty-print indentation
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_json_generate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_json_generate.rb b/tests/test_json_generate.rb
index e6219df..bfaee82 100755
--- a/tests/test_json_generate.rb
+++ b/tests/test_json_generate.rb
@@ -54,6 +54,7 @@ EOT
def test_generate_pretty
json = pretty_generate(@hash)
+ assert_equal(@json3, json)
assert_equal(JSON.parse(@json3), JSON.parse(json))
parsed_json = parse(json)
assert_equal(@hash, parsed_json)