Migrate pattern tests

This commit is contained in:
Ayaz Hafiz 2023-04-02 13:15:36 -05:00
parent 67364e1a42
commit c57aaecad4
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 22 additions and 45 deletions

View file

@ -0,0 +1,13 @@
app "test" provides [main] to "./platform"
main =
when A "" is
# ^^^^ [A Str, B Str, C Str, D Str]
A x | B x -> x
# ^ Str
# ^ Str
# ^ Str
C x | D x -> x
# ^ Str
# ^ Str
# ^ Str

View file

@ -0,0 +1,9 @@
app "test" provides [main] to "./platform"
main =
when A "" is
# ^^^^ [A Str, B Str]
A x | B x -> x
# ^ Str
# ^ Str
# ^ Str