summaryrefslogtreecommitdiff
path: root/test/matchbind.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/matchbind.myr')
-rw-r--r--test/matchbind.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/matchbind.myr b/test/matchbind.myr
index 9465d6c..2bcc780 100644
--- a/test/matchbind.myr
+++ b/test/matchbind.myr
@@ -12,10 +12,10 @@ const main = {
v = `Int 8
match v
- | `Int 127: -> 42
- | `Int x: -> x
- | `Chr 'a': -> 4
- | `Nil: -> 6
+ | `Int 127: std.exit(42)
+ | `Int x: std.exit(x)
+ | `Chr 'a': std.exit(4)
+ | `Nil: std.exit(6)
;;
}