summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-07-31 22:49:17 -0700
committerOri Bernstein <ori@eigenstate.org>2015-07-31 22:49:17 -0700
commitae494e5d5cbc5ff8094f47efdec22898d84dde63 (patch)
treeb1f70e12b5d539466fd3d82d13a0d77d909a5efa /bench
parent18ddda57bcc621dcca8f5c2a6dda3408b073fb24 (diff)
downloadmc-ae494e5d5cbc5ff8094f47efdec22898d84dde63.tar.gz
Fix benchmarks.
Diffstat (limited to 'bench')
-rw-r--r--bench/regex-match.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/regex-match.myr b/bench/regex-match.myr
index a6219d3..9416212 100644
--- a/bench/regex-match.myr
+++ b/bench/regex-match.myr
@@ -13,12 +13,12 @@ const main = {
for i = 0; i < 100; i++
match regex.compile(".*")
| `std.Ok r: re = r
- | `std.Fail m: std.fatal(1, "couldn't compile regex: %s\n", m)
+ | `std.Fail m: std.fatal("couldn't compile regex: %s\n", m)
;;
match regex.exec(re, str)
| `std.Some m:
- | `std.None: std.fatal(1, "Didn't match regex\n")
+ | `std.None: std.fatal("Didn't match regex\n")
;;
regex.free(re)