mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-04 01:03:36 +03:00
added unison-src/tests/text-pattern.ur
This commit is contained in:
parent
721341c20d
commit
d386787558
6
unison-src/tests/text-pattern.u
Normal file
6
unison-src/tests/text-pattern.u
Normal file
@ -0,0 +1,6 @@
|
||||
foo x = case x of
|
||||
"xyz" -> false
|
||||
"abc" -> true
|
||||
_ -> false
|
||||
|
||||
> (foo "abc", foo "xyz", foo "hello, world")
|
1
unison-src/tests/text-pattern.ur
Normal file
1
unison-src/tests/text-pattern.ur
Normal file
@ -0,0 +1 @@
|
||||
(true, false, false)
|
Loading…
Reference in New Issue
Block a user