about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-08-04 20:15:40 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-08-04 20:15:40 +0000
commitbd3ea046eef4902b480aea338e1fae10a0b5b244 (patch)
tree9a60bbff1152f98bfeabc03145262bad1bca1a38 /Test
parenteced9b1156dac92c71fad412c8fa2e2cc2d28194 (diff)
downloadzsh-bd3ea046eef4902b480aea338e1fae10a0b5b244.tar.gz
zsh-bd3ea046eef4902b480aea338e1fae10a0b5b244.tar.xz
zsh-bd3ea046eef4902b480aea338e1fae10a0b5b244.zip
Improved the %d and %g tests.
Diffstat (limited to 'Test')
-rw-r--r--Test/B03print.ztst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 2498b0fd8..cd23dba28 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -71,13 +71,15 @@
 0:ensure width is applied to empty param
 >abc!     !
 
- printf '%d\n' 123
+ printf '%d %d\n' 123.45 678 90.1
 0:test d format specifier
->123
+>123 678
+>90 0
 
- printf '%g\n' 123.45
+ printf '%g %g\n' 123.45 678 90.1
 0:test g format specifier
->123.45
+>123.45 678
+>90.1 0
 
  print -f 'arg: %b\n' -C2 '\x41' '\x42' '\x43'
 0:override -C when -f was given