summaryrefslogtreecommitdiff
path: root/test/matchunion_sl.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/matchunion_sl.myr')
-rw-r--r--test/matchunion_sl.myr15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/matchunion_sl.myr b/test/matchunion_sl.myr
index c1fbf83..54ba664 100644
--- a/test/matchunion_sl.myr
+++ b/test/matchunion_sl.myr
@@ -12,18 +12,9 @@ const main = {
v = `Str "foo"
match v
- /*
- `Int 127:
- -> 42
- ;;
- */
- `Str s:
- std.put("%s\n", s)
- ;;
- /*
- `Nil:
- ;;
- */
+ | `Int 127: -> 42
+ | `Str s: std.put("%s\n", s)
+ | `Nil:
;;
-> 0
}