summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-02-08 20:50:07 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-02-08 20:52:11 -0800
commit95663e936596933d529a648ed3d6c707d1a1dffe (patch)
tree1722c6eba2d19384956f6c8ac8a3557b503eedcf /Test
parent8a59aed6967b5283cbf0c7d32559b11d3a841a37 (diff)
downloadzsh-95663e936596933d529a648ed3d6c707d1a1dffe.tar.gz
zsh-95663e936596933d529a648ed3d6c707d1a1dffe.tar.xz
zsh-95663e936596933d529a648ed3d6c707d1a1dffe.zip
37914: reparse associative array subscripts in "unset" so keys with "[" or "]" may be backslash-escaped
Also fix erroneous test case this revealed.
Diffstat (limited to 'Test')
-rw-r--r--Test/E01options.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index f27076765..40e96afc9 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -776,7 +776,7 @@
   unsetopt pathdirs
   pathtestdir/findme
   path=($oldpath)
-  unset $oldpath
+  unset oldpath
   rm -rf pdt_topdir pathtestdir
 0:PATH_DIRS option
 >File in upper dir