Update test
This commit is contained in:
parent
03b223ac51
commit
47f627f5dd
@ -25,3 +25,10 @@ enum Foo(Zero, One(x:Int), Two(x,y:Int))
|
||||
= "found"
|
||||
>> t[Foo.Zero()]
|
||||
= "missing"
|
||||
|
||||
when x is o:One
|
||||
>> o.x
|
||||
= 123
|
||||
else
|
||||
fail("Oops")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user