Commit 1a351e7
committed
test(unittest.util): Add tests for sorted_list_difference tail deduplication
Exercise the except-IndexError path where one list is exhausted
and the remaining tail of the other list contains duplicates.
These cases were previously untested and would have passed even
without the fix in the preceding commit.1 parent 919b41a commit 1a351e7
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
0 commit comments