summaryrefslogtreecommitdiff
path: root/test/matchargunion.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/matchargunion.myr')
-rw-r--r--test/matchargunion.myr16
1 files changed, 4 insertions, 12 deletions
diff --git a/test/matchargunion.myr b/test/matchargunion.myr
index 933b52e..5d3ae53 100644
--- a/test/matchargunion.myr
+++ b/test/matchargunion.myr
@@ -12,18 +12,10 @@ const main = {
v = `Int 123
match v
- `Int 127:
- -> 42
- ;;
- `Int 123:
- -> 69
- ;;
- `Chr 'a':
- -> 4
- ;;
- `Nil:
- -> 6
- ;;
+ | `Int 127: -> 42
+ | `Int 123: -> 69
+ | `Chr 'a': -> 4
+ | `Nil: -> 6
;;
}