Commit d0518b9
committed
fix: sort folds by from value for deterministic output order
pairs() iteration order is non-deterministic across LuaJIT builds,
causing the merged fold list order to vary. Sort by from value so the
output is always predictable.
Also fix the merge test to use was_called_with with the sorted order.1 parent 999a36d commit d0518b9
2 files changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| 702 | + | |
702 | 703 | | |
703 | 704 | | |
704 | 705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | 186 | | |
188 | 187 | | |
189 | 188 | | |
| |||
0 commit comments