aboutsummaryrefslogtreecommitdiff
path: root/test/lambdas.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-07 16:55:48 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-03-07 16:55:48 -0500
commit9b485be020b6021f2cb86d97efb5b05166901bdf (patch)
treed3d81a9ca0eb11b1efe725136712a038a9b9e87f /test/lambdas.tm
parent60e971ff7aa31efad484cd66d4e3903ff189ef2b (diff)
Fix for text uppercasing in test
Diffstat (limited to 'test/lambdas.tm')
-rw-r--r--test/lambdas.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
index d830a36f..b1bc2968 100644
--- a/test/lambdas.tm
+++ b/test/lambdas.tm
@@ -23,7 +23,7 @@ func main():
>> add_100(5)
= 105
- >> shout2 := suffix_fn(Text.upper, "!")
+ >> shout2 := suffix_fn(func(t:Text): t:upper(), "!")
>> shout2("hello")
= "HELLO!"