Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix assertions caught by 1.9.2

  • Loading branch information...
commit d080bdd79109ec3e64c7a7459e847f0d42683902 1 parent acb9e3e
@quix authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/insensitive_hash_test.rb
View
10 test/insensitive_hash_test.rb
@@ -78,10 +78,10 @@ def test_insensitive_hash
"c" => 55,
})
- assert 33, s["a"]
- assert 33, s["A"]
- assert 44, s["b"]
- assert 44, s["B"]
+ assert_equal 33, s["a"]
+ assert_equal 33, s["A"]
+ assert_equal 44, s["b"]
+ assert_equal 44, s["B"]
t = {
"a" => 33,
@@ -98,7 +98,7 @@ def test_insensitive_hash
"c" => 55,
})
- assert ["A", "B", "c"], u.values_at(33, 44, 55)
+ assert_equal [33, 44, 55], u.values_at("A", "B", "c")
assert_block { s == u }
assert_block { u == s }
assert_block { t != u }
Please sign in to comment.
Something went wrong with that request. Please try again.