Skip to content

Instantly share code, notes, and snippets.

@clarknelson
Created May 14, 2014 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clarknelson/4c8ec378513356fb82a9 to your computer and use it in GitHub Desktop.
Save clarknelson/4c8ec378513356fb82a9 to your computer and use it in GitHub Desktop.
def test_hash_is_unordered
hash1 = { :one => "uno", :two => "dos" }
hash2 = { :two => "dos", :one => "uno" }
assert_equal false, hash1 == hash2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment