✓
Passing This code compiles and runs correctly.
Code
// NESTING SWEEP — readlines nested UNDER a for-each branch (position 4).
import std/io
import std/fs
for(0..3)
! each _ |> std/fs:read-lines(path: "tests/regression/810_AOC_2015/810_171_day17_part1/input.txt")
! line _ |> _
| done _ |> std/io:print.ln("done")
| failed _ |> std/io:print.ln("failed")
| done |> _
Actual
done
done
done
Expected output
done
done
done
Test Configuration
MUST_RUN