aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-19 13:41:52 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-19 13:41:52 -0500
commit2c904ff1737e34008f7a6c5d4b072d87a45a3fbc (patch)
treeac4c430677042a7ea92b92be5e5afa6e5a4ef27d /test/optionals.tm
parent4720ca7a5f3ad4bf2a04a6d28d671f03162149a9 (diff)
Go back to stringifying integers/num32s/bytes without the type
constructor.
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 cf9284e1..eba1a685 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -113,12 +113,12 @@ func main():
!! ...
!! Int64s:
>> yep := maybe_int64(yes)
- = Int64(123)?
+ = 123?
>> nope := maybe_int64(no)
= !Int64
>> if yep:
>> yep
- = Int64(123)
+ = 123
else: fail("Falsey: $yep")
>> if nope:
fail("Truthy: $nope")