aboutsummaryrefslogtreecommitdiff
path: root/tests/function/builtin/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function/builtin/testscript')
-rw-r--r--tests/function/builtin/testscript6
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