Commit 115efba
committed
fix: non-deterministic test failures by addressing the issue with the keys function test.
The problem was that Go maps have randomized iteration order, so when the keys function returns a slice of map keys, the order could vary between test runs, causing the test to fail when comparing
against an expected ordered slice.1 parent aa9cd0a commit 115efba
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
| 490 | + | |
| 491 | + | |
491 | 492 | | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
496 | 502 | | |
497 | 503 | | |
498 | 504 | | |
| |||
0 commit comments