summaryrefslogtreecommitdiff
path: root/lib/bio/test/bio-delim.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bio/test/bio-delim.myr')
-rw-r--r--lib/bio/test/bio-delim.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bio/test/bio-delim.myr b/lib/bio/test/bio-delim.myr
index 231c469..af9adf5 100644
--- a/lib/bio/test/bio-delim.myr
+++ b/lib/bio/test/bio-delim.myr
@@ -6,8 +6,8 @@ const main = {
var d
match bio.open("data/lines", bio.Rd)
- | `std.Some bio: f = bio
- | `std.None: std.fatal(1, "Unable to open data file\n")
+ | `std.Ok bio: f = bio
+ | `std.Fail m: std.fatal("Unable to open data file: {}\n", m)
;;
/* read first line */