From 497793c854b9dfbf70c2c23813b6b7f06012bcc2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Nov 2019 15:00:25 +0200 Subject: Generalize attributes to be comma-separated with arbitrary values Before: x = [string null] After: x = [string, null] --- tests/function/builtin/testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/function/builtin/testscript b/tests/function/builtin/testscript index 46a7b2c..4a49ac3 100644 --- a/tests/function/builtin/testscript +++ b/tests/function/builtin/testscript @@ -10,7 +10,7 @@ $* <'print $type([string])' >'string' : empty-typed $* <'print $type("")' >'' : empty-untyped - $* <'print $type([string null])' >'string' : null-typed + $* <'print $type([string, null])' >'string' : null-typed $* <'print $type([null])' >'' : null-untyped $* <'print $type([string] abc)' >'string' : value-typed @@ -48,8 +48,8 @@ $* <'print $identity("")' >'{}'; $* <'print $type($identity(""))' >'' : empty-untyped - $* <'print $identity([string null])' >'[null]'; - $* <'print $type($identity([string null]))' >'string' : null-typed + $* <'print $identity([string, null])' >'[null]'; + $* <'print $type($identity([string, null]))' >'string' : null-typed $* <'print $identity([null])' >'[null]'; $* <'print $type($identity([null]))' >'' : null-untyped -- cgit v1.1