summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-16 01:24:34 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-16 01:24:34 -0700
commit9fa7e376e33410e78fda13897bf8e0914f201ddf (patch)
treec3e1e6f004c5ee96712770153a6a267592ecf223 /test
parent99bd0e314a7050f7ac4ae2c33207be08aa5c4507 (diff)
downloadmc-9fa7e376e33410e78fda13897bf8e0914f201ddf.tar.gz
Remove status arg from fatal.
We never set it to anything other than '1' anyways. There's no standardized error codes, so the exit status isn't really useful in any case.
Diffstat (limited to 'test')
-rw-r--r--test/matchargstr.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/matchargstr.myr b/test/matchargstr.myr
index 50d539b..0d8cf4e 100644
--- a/test/matchargstr.myr
+++ b/test/matchargstr.myr
@@ -12,12 +12,12 @@ const main = {
v = `Str "asdf"
match v
- | `Int 127: std.fatal(1, "wrong match `Int 127\n")
- | `Str "foo": std.fatal(1, "Wrong match `Str \"foo\"\n")
- | `Str "fsda": std.fatal(1, "Wrong match `Str \"fsda\"\n")
+ | `Int 127: std.fatal("wrong match `Int 127\n")
+ | `Str "foo": std.fatal("Wrong match `Str \"foo\"\n")
+ | `Str "fsda": std.fatal("Wrong match `Str \"fsda\"\n")
| `Str "asdf": std.put("Correct `Str \"asdf\"!\n")
- | `Nil: std.fatal(1, "Wrong match `Str \"fsda\"\n")
- | _: std.fatal(1, "Impossible failed match\n")
+ | `Nil: std.fatal("Wrong match `Str \"fsda\"\n")
+ | _: std.fatal("Impossible failed match\n")
;;
}