summaryrefslogtreecommitdiff
path: root/test/stdopt-some.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdopt-some.myr')
-rw-r--r--test/stdopt-some.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stdopt-some.myr b/test/stdopt-some.myr
index 179dc8e..714222e 100644
--- a/test/stdopt-some.myr
+++ b/test/stdopt-some.myr
@@ -2,8 +2,8 @@ use std
const main = {
match `std.Some 42
- | `std.Some x: -> x
- | `std.None: -> 1
+ | `std.Some x: std.exit(x)
+ | `std.None: std.exit(1)
;;
}