summaryrefslogtreecommitdiff
path: root/mbld/subtest.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/subtest.myr')
-rw-r--r--mbld/subtest.myr8
1 files changed, 5 insertions, 3 deletions
diff --git a/mbld/subtest.myr b/mbld/subtest.myr
index 1078105..f631895 100644
--- a/mbld/subtest.myr
+++ b/mbld/subtest.myr
@@ -29,9 +29,11 @@ const showsub = {b, cmd, fd, logfd, failed
log = bio.mkfile(logfd, bio.Wr)
res = `std.None
match bio.readln(f)
- | `bio.Err e: std.fatal("error reading subfile: {}\n", e)
- | `bio.Eof: -> `std.None
- | `bio.Ok ln:
+ | `std.Err `bio.Eof:
+ -> `std.None
+ | `std.Err e:
+ std.fatal("error reading subfile: {}\n", e)
+ | `std.Ok ln:
match testplan(ln)
| `std.None:
bio.write(log, ln)