awk: fix length(array)
function old new delta evaluate 3526 3548 +22 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -274,6 +274,11 @@ testing "awk large integer" \
|
||||
"2147483647 2147483647 0 2147483648 2147483648 0\n" \
|
||||
"" ""
|
||||
|
||||
testing "awk length(array)" \
|
||||
"awk 'BEGIN{ A[1]=2; A["qwe"]="asd"; print length(A)}'" \
|
||||
"2\n" \
|
||||
"" ""
|
||||
|
||||
# testing "description" "command" "result" "infile" "stdin"
|
||||
|
||||
exit $FAILCOUNT
|
||||
|
Reference in New Issue
Block a user