Fix TestPatternMatching#test_deconstruct_keys test
Before the change `C.keys` returned keys captured in some previous test case that by chance captured `nil` value what made this test passed successfully. Now it returns keys captured in this test case.
This commit is contained in:
parent
9d01f657b3
commit
b60f09442a
@ -1331,7 +1331,7 @@ END
|
|||||||
end
|
end
|
||||||
|
|
||||||
assert_block do
|
assert_block do
|
||||||
case {}
|
case C.new({})
|
||||||
in {}
|
in {}
|
||||||
C.keys == nil
|
C.keys == nil
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user