summary refs log tree commit
path: root/tests/test_json_generate.rb
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2011-05-12 11:23:20 +0200
committerFlorian Frank <flori@ping.de>2011-05-12 11:23:20 +0200
commit0609fff28f7643232b4c8f2b3fd291045ccabffa (patch)
tree22c16c1ad4b3c1381ee6e57bba40bd522c8cae29 /tests/test_json_generate.rb
parent0bca269860274d22908328cfe35b24d21a7e0188 (diff)
downloadruby-json-0609fff28f7643232b4c8f2b3fd291045ccabffa.tar.gz
Skip test which fails on some platforms
Diffstat (limited to 'tests/test_json_generate.rb')
-rwxr-xr-xtests/test_json_generate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_json_generate.rb b/tests/test_json_generate.rb
index bfaee82..9b0cff4 100755
--- a/tests/test_json_generate.rb
+++ b/tests/test_json_generate.rb
@@ -54,7 +54,7 @@ EOT
 
   def test_generate_pretty
     json = pretty_generate(@hash)
-    assert_equal(@json3, json)
+    # hashes aren't (insertion) ordered on every ruby implementation assert_equal(@json3, json)
     assert_equal(JSON.parse(@json3), JSON.parse(json))
     parsed_json = parse(json)
     assert_equal(@hash, parsed_json)