diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-16 17:07:22 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-16 17:07:22 -0400 |
| commit | e80571e36f858fa1fc695e5e40e453294304401f (patch) | |
| tree | 7bc85e98802cd4351cf0c2776b6dffd9fe912b46 /test/optionals.tm | |
| parent | f4f5fd4fdd9315667f048c578f3a441e6710250d (diff) | |
Remove enum type prefix when printing enum
Diffstat (limited to 'test/optionals.tm')
| -rw-r--r-- | test/optionals.tm | 4 |
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") |
