diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-15 15:00:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-15 15:00:25 +0200 |
commit | 497793c854b9dfbf70c2c23813b6b7f06012bcc2 (patch) | |
tree | be2ec7600889314efbaef22037c094e32b3af6e5 /tests | |
parent | 417497632ddfa2bdc17688703c24ca3fd60af318 (diff) |
Generalize attributes to be comma-separated with arbitrary values
Before:
x = [string null]
After:
x = [string, null]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/function/builtin/testscript | 6 |
1 files changed, 3 insertions, 3 deletions
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 |