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['x'] = 1
|
||||||
a['y'] = 2
|
a['y'] = 2
|
||||||
|
|
||||||
b = BSON::OrderedHash['x' => 1, 'y' => 2]
|
b = BSON::OrderedHash['x', 1, 'y', 2]
|
||||||
assert_equal a, b
|
assert_equal a, b
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue