aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-12 00:55:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-12 00:55:43 -0400
commit327d466b9543aee3983277ca4158e5b7aa06fdf8 (patch)
tree64028cc0ca38b76461a85be02e3103db600f0bcc /test/structs.tm
parentfa7e52787f81f3673f9d57e9e4ba7fc015ca8432 (diff)
Table:get() now uses optional values instead of default or failure modes
Diffstat (limited to 'test/structs.tm')
-rw-r--r--test/structs.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/structs.tm b/test/structs.tm
index c9022ede..53d356f5 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -63,7 +63,7 @@ func main():
= Password(...)
>> users_by_password := {my_pass:"User1", Password("xxx"):"User2"}
= {Password(...):"User1", Password(...):"User2"}
- >> users_by_password:get(my_pass)
+ >> users_by_password:get(my_pass)!
= "User1"
>> CorecursiveA(@CorecursiveB())