aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/ordered_hash_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-10-06 20:57:22 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-10-06 20:57:22 -0700
commitb9999c58c21544afb1300ce1b6c7ac30b0249c9a (patch)
tree4619e9498b84360f6437622f28961acd74513c58 /activesupport/test/ordered_hash_test.rb
parentc22a550f2e523942be5eddc64a0dac3239c04bc0 (diff)
downloadrails-b9999c58c21544afb1300ce1b6c7ac30b0249c9a.tar.gz
rails-b9999c58c21544afb1300ce1b6c7ac30b0249c9a.tar.bz2
rails-b9999c58c21544afb1300ce1b6c7ac30b0249c9a.zip
Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring them. No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add973ebcb3b4c1efbfaf07786550a3e219af
Diffstat (limited to 'activesupport/test/ordered_hash_test.rb')
-rw-r--r--activesupport/test/ordered_hash_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/test/ordered_hash_test.rb b/activesupport/test/ordered_hash_test.rb
index ac85ba1f21..14ba4e0076 100644
--- a/activesupport/test/ordered_hash_test.rb
+++ b/activesupport/test/ordered_hash_test.rb
@@ -216,7 +216,6 @@ class OrderedHashTest < ActiveSupport::TestCase
alternate = ActiveSupport::OrderedHash[ [
[1, 2],
[3, 4],
- "bad key value pair",
[ 'missing value' ]
]]