RUBY-409 fixed test for ordered hash to actually used Array instead of hash
This commit is contained in:
parent
4a92a1e498
commit
21ad1e9aef
@ -15,7 +15,7 @@ class OrderedHashTest < Test::Unit::TestCase
|
||||
a['x'] = 1
|
||||
a['y'] = 2
|
||||
|
||||
b = BSON::OrderedHash['x' => 1, 'y' => 2]
|
||||
b = BSON::OrderedHash['x', 1, 'y', 2]
|
||||
assert_equal a, b
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user