diff options
author | Peter Stephenson <pws@zsh.org> | 2013-11-20 17:35:57 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2013-11-20 17:35:57 +0000 |
commit | 8e2d4c2cf77125588549194677a2688a547c1b9e (patch) | |
tree | b17e84189e0a76db4585d7d07e50765414595183 /Test/D02glob.ztst | |
parent | b514fbe110f548df45f1de6064c1ac2a4037b917 (diff) | |
download | zsh-8e2d4c2cf77125588549194677a2688a547c1b9e.tar.gz zsh-8e2d4c2cf77125588549194677a2688a547c1b9e.tar.xz zsh-8e2d4c2cf77125588549194677a2688a547c1b9e.zip |
32030: need to revert empty glob qualifier change.
It failed on an empty expansion that (N) was supposed to remove. Add test for this case.
Diffstat (limited to 'Test/D02glob.ztst')
-rw-r--r-- | Test/D02glob.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst index d6ab73304..81b002120 100644 --- a/Test/D02glob.ztst +++ b/Test/D02glob.ztst @@ -491,3 +491,11 @@ >@(scrimf), @(scrimf): 0 >'(' '*' '[' '^' '@(' >Nothing should be disabled. + + ( + setopt nomatch + x=( '' ) + print $^x(N) + ) +0:No error with empty null glob with (N). +> |