mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring them. No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add973e
This commit is contained in:
parent
c22a550f2e
commit
b9999c58c2
1 changed files with 0 additions and 1 deletions
|
@ -216,7 +216,6 @@ class OrderedHashTest < ActiveSupport::TestCase
|
|||
alternate = ActiveSupport::OrderedHash[ [
|
||||
[1, 2],
|
||||
[3, 4],
|
||||
"bad key value pair",
|
||||
[ 'missing value' ]
|
||||
]]
|
||||
|
||||
|
|
Loading…
Reference in a new issue