Commit d8d03ae
committed
Add explicit cycle/1 test for {:halted, []} on first pass
HaltAcc's Enumerable.reduce/3 returns {:halted, _}, so cycling an
empty HaltAcc exercises the :halted-empty path of
check_cycle_first_element directly (the existing %{} case goes
through :done).1 parent 4559989 commit d8d03ae
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| |||
0 commit comments