summaryrefslogtreecommitdiff
path: root/test/matchtup.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/matchtup.myr')
-rw-r--r--test/matchtup.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/matchtup.myr b/test/matchtup.myr
index 85e3a10..95f9a1f 100644
--- a/test/matchtup.myr
+++ b/test/matchtup.myr
@@ -4,8 +4,8 @@ const main = {
var v = (1, 2)
match v
- | (1, x): -> 40 + x
+ | (1, x): std.exit(40 + x)
| _: std.die("Wat")
;;
- -> 0
+ std.exit(0)
}