Skip to content

Commit

Permalink
Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring…
Browse files Browse the repository at this point in the history
… them. No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add9
  • Loading branch information
jeremy authored and sikachu committed Feb 24, 2013
1 parent 0190dca commit 5693d44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion activesupport/test/ordered_hash_test.rb
Expand Up @@ -221,7 +221,6 @@ def test_alternate_initialization_with_array
alternate = ActiveSupport::OrderedHash[ [ alternate = ActiveSupport::OrderedHash[ [
[1, 2], [1, 2],
[3, 4], [3, 4],
"bad key value pair",
[ 'missing value' ] [ 'missing value' ]
]] ]]


Expand Down

0 comments on commit 5693d44

Please sign in to comment.