diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2011-08-17 19:00:08 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-08-17 19:00:08 +0000 |
| commit | 815e52cdbf0a62bf795d5af8e7089aaca5709806 (patch) | |
| tree | ecc5703b2ecc51cc2db7f29e71662a9549dbfda5 /Test/D04parameter.ztst | |
| parent | Anthony R Fletcher: users/16260: new systemctl completion (diff) | |
| download | zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.tar zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.tar.gz zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.tar.bz2 zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.tar.lz zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.tar.xz zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.tar.zst zsh-815e52cdbf0a62bf795d5af8e7089aaca5709806.zip | |
users/16253, users/16255: a nulstring should be split like an empty string
Diffstat (limited to 'Test/D04parameter.ztst')
| -rw-r--r-- | Test/D04parameter.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 8f95420dd..71c79687f 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1453,3 +1453,8 @@ print ${foo:5:-6} 1:Regression test for total length < 0 in array ?(eval):2: substring expression: 3 < 5 + + foo=(${(0)"$(print -n)"}) + print ${#foo} +0:Nularg removed from split empty string +>0 |
