summaryrefslogtreecommitdiff
path: root/test/infer-named.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/infer-named.myr')
-rw-r--r--test/infer-named.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/infer-named.myr b/test/infer-named.myr
index b2e517d..51b14d7 100644
--- a/test/infer-named.myr
+++ b/test/infer-named.myr
@@ -14,8 +14,8 @@ const main = {
v = f(99)
match v
- | `Foo: -> 1
- | `Bar x: -> x
+ | `Foo: std.exit(1)
+ | `Bar x: std.exit(x)
;;
- -> 2
+ std.exit(2)
}