Permalink
Browse files

Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring…

… them. No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add9
  • Loading branch information...
1 parent 0190dca commit 5693d444686d84d403de5af5d3e23ffe8147001d @jeremy jeremy committed with sikachu Oct 7, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 activesupport/test/ordered_hash_test.rb
@@ -221,7 +221,6 @@ def test_alternate_initialization_with_array
alternate = ActiveSupport::OrderedHash[ [
[1, 2],
[3, 4],
- "bad key value pair",
[ 'missing value' ]
]]

0 comments on commit 5693d44

Please sign in to comment.