about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-06-02 09:17:04 +0100
committerPeter Stephenson <pws@zsh.org>2015-06-02 09:17:04 +0100
commit93e72ed1e9ef573e3bb9cd95d67233df46d33973 (patch)
treef88ee51731de8bd1b4400b309cae13816a207005 /Test
parent52cace80567dc53fa8d32f3664b524b5e8ec905b (diff)
downloadzsh-93e72ed1e9ef573e3bb9cd95d67233df46d33973.tar.gz
zsh-93e72ed1e9ef573e3bb9cd95d67233df46d33973.tar.xz
zsh-93e72ed1e9ef573e3bb9cd95d67233df46d33973.zip
35353: print -x and print -X expand tabs
Diffstat (limited to 'Test')
-rw-r--r--Test/B03print.ztst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 48574c227..54d6350cf 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -284,3 +284,16 @@
 >610062
 >6100
 >61
+
+ foo=$'one\ttwo\tthree\tfour\n'
+ foo+=$'\tone\ttwo\tthree\tfour\n'
+ foo+=$'\t\tone\t\ttwo\t\tthree\t\tfour'
+ print -x4 $foo
+ print -X4 $foo
+0:Tab expansion by print
+>one	two	three	four
+>    one	two	three	four
+>        one		two		three		four
+>one two three   four
+>    one two three   four
+>        one     two     three       four