aboutsummaryrefslogtreecommitdiff
path: root/tests/type/set
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-02-20 08:57:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-02-20 16:01:40 +0200
commitc2d2a1ac0ac41a068c4bf09f8236a61d576e74f5 (patch)
tree32fe50dc4f95772493f4242ce40fb0afd01c0bb6 /tests/type/set
parent88640e677fa0695783eac68014d7d8d5bc42d117 (diff)
Add custom subscript, iterate functions for vector and set value types
Diffstat (limited to 'tests/type/set')
-rw-r--r--tests/type/set/testscript11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/type/set/testscript b/tests/type/set/testscript
index 3897220..da5e181 100644
--- a/tests/type/set/testscript
+++ b/tests/type/set/testscript
@@ -44,9 +44,12 @@ EOO
:
$* <<EOI >>EOO
for s: [string_set] a b c
- print $s
+ print $type($s) $s
+
+for s: [string_set, null]
+ fail bad
EOI
-a
-b
-c
+string a
+string b
+string c
EOO