Commit 145f017
authored
Update doctests in wiggle_sort to match fixed implementation output
- Updated expected outputs for negative array doctests in `sorts/wiggle_sort.py`.
- The previous doctest expectations relied on the incorrect behavior caused by the index-0 negative lookup bug.
- Fixes pytest doctest mismatch failure in CI build job.1 parent c063560 commit 145f017
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments