summaryrefslogtreecommitdiff
path: root/lib/bio/test/bio-write.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-11 18:03:00 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-11 18:03:00 -0700
commitd2a4d99cee1cbff164e6b80560a0930043ba38a4 (patch)
treeea77141cdee3de78b83f31bb504be38d10b312c4 /lib/bio/test/bio-write.myr
parentbcae988a72a65bdc6597b3116a6a247e3df98487 (diff)
downloadmc-d2a4d99cee1cbff164e6b80560a0930043ba38a4.tar.gz
Update BIO tests and bootstrap.
Diffstat (limited to 'lib/bio/test/bio-write.myr')
-rw-r--r--lib/bio/test/bio-write.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bio/test/bio-write.myr b/lib/bio/test/bio-write.myr
index cbe7441..27a3f12 100644
--- a/lib/bio/test/bio-write.myr
+++ b/lib/bio/test/bio-write.myr
@@ -8,8 +8,8 @@ const main = {
var buf : byte[64*1024]
match bio.create("tmpout/test-write", 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: {}", m)
;;
/* write a 5 byte chunk */