summaryrefslogtreecommitdiff
path: root/test/matcharray.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/matcharray.myr')
-rw-r--r--test/matcharray.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/matcharray.myr b/test/matcharray.myr
index 38e3688..7cb762a 100644
--- a/test/matcharray.myr
+++ b/test/matcharray.myr
@@ -5,8 +5,8 @@ const main = {
match v
| [x, y, 10]:
- -> x + y
+ std.exit(x + y)
| _: std.die("Wat")
;;
- -> 0
+ std.exit(0)
}