aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-12 23:41:32 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-12 23:41:32 -0400
commitda9cc93c466c65e0294b4b29bec6603b2d4552eb (patch)
treebfd266d559365366802eaf1a285d7983b426f9c8 /test/optionals.tm
parent46a2aa2ffc71820767f0cdaead84c26dc240c893 (diff)
Make functions print with `func name(...)->... [file:line]` info
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 a3f33d6c..928587f7 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -185,12 +185,12 @@ func main():
!! ...
!! Lambdas:
>> yep := maybe_lambda(yes)
- = func(): ...?
+ = func() [optionals.tm:54]?
>> nope := maybe_lambda(no)
= !func()
>> if yep:
>> yep
- = func(): ...
+ = func() [optionals.tm:54]
else: fail("Falsey: $yep")
>> if nope:
fail("Truthy: $nope")