5 check_expected ([<<'EOF', <<'EOF']);
7 (close-twice) open "sample.txt"
8 (close-twice) close "sample.txt"
9 (close-twice) close "sample.txt" again
14 (close-twice) open "sample.txt"
15 (close-twice) close "sample.txt"
16 (close-twice) close "sample.txt" again