summaryrefslogtreecommitdiff
path: root/lib/bio/test/bio-write.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-08-27 15:55:36 -0700
committerOri Bernstein <ori@eigenstate.org>2016-08-27 15:55:36 -0700
commite83d16d5bd500b8e1913a836560f943a757ab86b (patch)
treeed88a93da5185122d16eec51086a053f0910b9a0 /lib/bio/test/bio-write.myr
parent6121d28dc28103cb85b22fe404daaa8c441790b4 (diff)
downloadmc-e83d16d5bd500b8e1913a836560f943a757ab86b.tar.gz
Rename `std.Fail to `std.Err.
Diffstat (limited to 'lib/bio/test/bio-write.myr')
-rw-r--r--lib/bio/test/bio-write.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bio/test/bio-write.myr b/lib/bio/test/bio-write.myr
index 27a3f12..3b682c5 100644
--- a/lib/bio/test/bio-write.myr
+++ b/lib/bio/test/bio-write.myr
@@ -9,7 +9,7 @@ const main = {
match bio.create("tmpout/test-write", bio.Wr, 0o644)
| `std.Ok bio: f = bio
- | `std.Fail m: std.fatal("Unable to open data file: {}", m)
+ | `std.Err m: std.fatal("Unable to open data file: {}", m)
;;
/* write a 5 byte chunk */