aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-09 14:12:15 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-09 14:12:15 -0500
commita13f642679664b420ef395168a6d0dcbca64bd74 (patch)
tree2ebc1b549d6347593e6823bf3dfebbc5d2baf9fa
parent6f9dedcf5f924b25e9cc2ddaecfa7b3513560eed (diff)
Tweaking tests
-rw-r--r--test/lambdas.tm5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
index e5ddc5b3..86b4b263 100644
--- a/test/lambdas.tm
+++ b/test/lambdas.tm
@@ -1,9 +1,12 @@
>> add_one := func(x:Int) x + 1
->> add_one
>> add_one(10)
= 11
>> shout := func(msg:Text) say("{msg:upper()}!")
>> shout("hello")
+
+>> asdf := add_one
+>> asdf(99)
+= 100