summaryrefslogtreecommitdiff
path: root/lib/bio/test/bio-endianwr.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bio/test/bio-endianwr.myr')
-rw-r--r--lib/bio/test/bio-endianwr.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bio/test/bio-endianwr.myr b/lib/bio/test/bio-endianwr.myr
index e44db49..b672571 100644
--- a/lib/bio/test/bio-endianwr.myr
+++ b/lib/bio/test/bio-endianwr.myr
@@ -9,8 +9,8 @@ const main = {
var f
match bio.create("tmpout/test-endianwr", bio.Wr, 0o644)
- | `std.Some bio: f = bio
- | `std.None: std.fatal(1, "Unable to open data file")
+ | `std.Ok bio: f = bio
+ | `std.Fail m: std.fatal("Unable to open data file: {}\n", m)
;;
/* byte */