From 10e634e64b5fffaf19778d8fd3aa854118aa0d53 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 3 Nov 2021 13:08:48 +0200 Subject: Add $size() function to get size of sequence (names, strings, etc) --- tests/function/builtin/testscript | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/function/builtin') 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 -- cgit v1.1