mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
Adjust test for new typeset restrictions.
This commit is contained in:
parent
d978bb894e
commit
be5e65d2bb
2 changed files with 5 additions and 4 deletions
|
@ -3,8 +3,9 @@
|
||||||
* 15613 (plus unposted additions): Test/B02typeset.ztst: Tests for
|
* 15613 (plus unposted additions): Test/B02typeset.ztst: Tests for
|
||||||
correct behavior of typeset options and arguments.
|
correct behavior of typeset options and arguments.
|
||||||
|
|
||||||
* 15611: Src/builtin.c: Fix crash bug when assigning to array
|
* 15611: Src/builtin.c, Test/D06subscript.ztst: Fix crash bug when
|
||||||
elements in a function in the arguments of typeset or local.
|
assigning to array elements in a function in the arguments of
|
||||||
|
typeset or local. Change test for new typeset restrictions.
|
||||||
|
|
||||||
2001-08-13 Sven Wischnowsky <wischnow@zsh.org>
|
2001-08-13 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
|
|
|
@ -146,8 +146,8 @@
|
||||||
>\2 backcbrack cbrack star
|
>\2 backcbrack cbrack star
|
||||||
>\\\4 \\\? star zounds
|
>\\\4 \\\? star zounds
|
||||||
|
|
||||||
typeset "A[one\"two\"three\"quotes]"=QQQ
|
typeset -g "A[one\"two\"three\"quotes]"=QQQ
|
||||||
typeset 'A[one\"two\"three\"quotes]'=qqq
|
typeset -g 'A[one\"two\"three\"quotes]'=qqq
|
||||||
print -R "$A[one\"two\"three\"quotes]"
|
print -R "$A[one\"two\"three\"quotes]"
|
||||||
print -R $A[one\"two\"three\"quotes]
|
print -R $A[one\"two\"three\"quotes]
|
||||||
A[one"two"three"four"quotes]=QqQq
|
A[one"two"three"four"quotes]=QqQq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue