aboutsummaryrefslogtreecommitdiff
path: root/test/tables.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-18 20:39:57 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-18 20:39:57 -0400
commit967b649da20f1cb2011025456853cb55f25e9a88 (patch)
treeffce4f06f5fbb833c8aee2ba7c6982156f7bfac4 /test/tables.tm
parentd804b09b02b9c4a6ea6b16ae85524a704796cbc1 (diff)
Deprecate `#` operator in favor of .length and fix up some issues
Diffstat (limited to 'test/tables.tm')
-rw-r--r--test/tables.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tables.tm b/test/tables.tm
index 7f8383d8..7b3595b6 100644
--- a/test/tables.tm
+++ b/test/tables.tm
@@ -15,7 +15,7 @@ func main():
>> t_str
= "(one:1)(two:2)"
- >> #t
+ >> t.length
= 2
>> t.fallback
= !{Text:Int}
@@ -35,7 +35,7 @@ func main():
>> t2:get("???", 999)
= 999
- >> #t2
+ >> t2.length
= 1
>> t2.fallback
= @%{"one":1, "two":2}?