aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/optionals.tm')
-rw-r--r--test/optionals.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index 3ef7f28e..0b2a2209 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -218,12 +218,12 @@ func main():
!! ...
!! Enums:
>> yep := Enum.maybe(yes)
- = Enum.Y(123) : Enum?
+ = Y(123) : Enum?
>> nope := Enum.maybe(no)
= none : Enum?
>> if yep:
>> yep
- = Enum.Y(123)
+ = Y(123)
else: fail("Falsey: $yep")
>> if nope:
fail("Truthy: $nope")