diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2003-09-25 09:50:23 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-09-25 09:50:23 +0000 |
| commit | a869fe1c57acd59f0908a2968034bdd0e1ec7664 (patch) | |
| tree | c86e2c434a6c992b741e7b80a28a08eebd26f239 /Test/B02typeset.ztst | |
| parent | Fix minor problem with 19129. (diff) | |
| download | zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.tar zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.tar.gz zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.tar.bz2 zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.tar.lz zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.tar.xz zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.tar.zst zsh-a869fe1c57acd59f0908a2968034bdd0e1ec7664.zip | |
19139: add tests for typeset -T
Diffstat (limited to 'Test/B02typeset.ztst')
| -rw-r--r-- | Test/B02typeset.ztst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index f69e5de73..832c4a373 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -195,6 +195,18 @@ >i:n:n:e:r >outer + typeset -TU MORESTUFF=here-we-go-go-again morestuff '-' + print -l $morestuff +0:Tied arrays with separator specified +>here +>we +>go +>again + + typeset -T THIS will not work +1:Tied array syntax +?(eval):typeset:1: -T requires names of scalar and array + local array[2]=x 1:Illegal local array element assignment ?(eval):local:1: array[2]: can't create local array elements |
