Commit 261eea4
Fix tautological assertions in test_each_value in test_hash.rb
Both assertions tested `[].length == 0` rather than `res.length`,
so the test passed even when `each_value` yielded nothing.1 parent eb70a0d commit 261eea4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| |||
0 commit comments