aboutsummaryrefslogtreecommitdiff
path: root/test/lambdas.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/lambdas.tm')
-rw-r--r--test/lambdas.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
index 3d536086..6e261e0f 100644
--- a/test/lambdas.tm
+++ b/test/lambdas.tm
@@ -12,7 +12,7 @@ func main():
>> add_one(10)
= 11
- >> shout := func(msg:Text): say("$(msg:upper())!")
+ >> shout := func(msg:Text): say("$(msg.upper())!")
>> shout("hello")
>> asdf := add_one
@@ -23,7 +23,7 @@ func main():
>> add_100(5)
= 105
- >> shout2 := suffix_fn(func(t:Text): t:upper(), "!")
+ >> shout2 := suffix_fn(func(t:Text): t.upper(), "!")
>> shout2("hello")
= "HELLO!"