about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-08-12 00:55:32 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-08-12 00:55:32 -0700
commit68e14c41f28e54aef90e580411dda2385a69f43f (patch)
tree1a398a9a73e9da43ced852bc94d9d2ff1ceaa4c8 /Test/D04parameter.ztst
parent4234fccef6489c9623b2226629d1bc3235d5893a (diff)
downloadzsh-68e14c41f28e54aef90e580411dda2385a69f43f.tar.gz
zsh-68e14c41f28e54aef90e580411dda2385a69f43f.tar.xz
zsh-68e14c41f28e54aef90e580411dda2385a69f43f.zip
39028: more join/split cases fixed and tested.
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r--Test/D04parameter.ztst10
1 files changed, 8 insertions, 2 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 35630c5ca..460a841c3 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -1970,8 +1970,14 @@
   set -- one:two bucklemy:shoe
   IFS=
   setopt shwordsplit
-  print -l ${@}
+  print -l ${@} ${(s.:.)*} ${(s.:.j.-.)*}
   )
-0:Joining of $@ does not happen when IFS is empty
+0:Joining of $@ does not happen when IFS is empty, but splitting $* does
 >one:two
 >bucklemy:shoe
+>one
+>twobucklemy
+>shoe
+>one
+>two-bucklemy
+>shoe