diff options
Diffstat (limited to 'tests/array.test')
-rw-r--r-- | tests/array.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/array.test b/tests/array.test index 7581de2..8035d35 100644 --- a/tests/array.test +++ b/tests/array.test @@ -131,6 +131,12 @@ test array-1.23 "array exists non-array" -body { array exists x } -result {0} +test array-1.24 "unset -nocomplain missing array element" -body { + unset -nocomplain a + set a(1) one + unset -nocomplain a(2) +} -result {} + test array-2.1 {array -help} -constraints jim -body { array -help } -match glob -result {Usage: "array command ... ", where command is one of: *} |