Skip to content
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 c22a550 commit b9999c58c21544afb1300ce1b6c7ac30b0249c9a @jeremy jeremy committed Oct 6, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 activesupport/test/ordered_hash_test.rb
View
1 activesupport/test/ordered_hash_test.rb
@@ -216,7 +216,6 @@ def test_alternate_initialization_with_array
alternate = ActiveSupport::OrderedHash[ [
[1, 2],
[3, 4],
- "bad key value pair",
[ 'missing value' ]
]]

1 comment on commit b9999c5

@tenderlove
Ruby on Rails member

Nice. :neckbeard:

Please sign in to comment.
Something went wrong with that request. Please try again.