aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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!"