diff options
Diffstat (limited to 'tests/function/string/testscript')
-rw-r--r-- | tests/function/string/testscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/function/string/testscript b/tests/function/string/testscript index 5f80bfe..00835ce 100644 --- a/tests/function/string/testscript +++ b/tests/function/string/testscript @@ -39,3 +39,10 @@ $* <'print $sort([strings] a c b a, dedup)' >'a b c' : dedup $* <'print $sort([strings] a C B a, icase)' >'a a B C' : icase } + +: size +: +{ + $* <'print $size([string] abc)' >'3' : basics + $* <'print $size([string] )' >'0' : zero +} |