diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-07-31 22:49:17 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-07-31 22:49:17 -0700 |
commit | ae494e5d5cbc5ff8094f47efdec22898d84dde63 (patch) | |
tree | b1f70e12b5d539466fd3d82d13a0d77d909a5efa /bench/regex-match.myr | |
parent | 18ddda57bcc621dcca8f5c2a6dda3408b073fb24 (diff) | |
download | mc-ae494e5d5cbc5ff8094f47efdec22898d84dde63.tar.gz |
Fix benchmarks.
Diffstat (limited to 'bench/regex-match.myr')
-rw-r--r-- | bench/regex-match.myr | 4 |
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) |