diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-03 13:08:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-04 08:09:42 +0200 |
commit | 10e634e64b5fffaf19778d8fd3aa854118aa0d53 (patch) | |
tree | 99d09d1ae6a7024b7dbc6c436bf1bc780640fe16 /tests/function/builtin/testscript | |
parent | e612a49ef95cf9ce3d0b5496d724f73cae9aa333 (diff) |
Add $size() function to get size of sequence (names, strings, etc)
Diffstat (limited to 'tests/function/builtin/testscript')
-rw-r--r-- | tests/function/builtin/testscript | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/function/builtin/testscript b/tests/function/builtin/testscript index 3853ec2..00d594b 100644 --- a/tests/function/builtin/testscript +++ b/tests/function/builtin/testscript @@ -80,11 +80,8 @@ : sort : { - $* <'print $sort( d/t{a} t{c b} d/t{a})' >'t{b} t{c} d/t{a} d/t{a}' : name-basics - $* <'print $sort( d/t{a} t{c b} d/t{a}, dedup)' >'t{b} t{c} d/t{a}' : name-dedup - - $* <'print $sort([uint64s] 0 2 1 000)' >'0 0 1 2' : int-basics - $* <'print $sort([uint64s] 0 2 1 000, dedup)' >'0 1 2' : int-dedup + $* <'print $sort([uint64s] 0 2 1 000)' >'0 0 1 2' : basics + $* <'print $sort([uint64s] 0 2 1 000, dedup)' >'0 1 2' : dedup } : getenv |