summaryrefslogtreecommitdiffstats
path: root/tests/format.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format.test')
-rw-r--r--tests/format.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/format.test b/tests/format.test
index 3ca51ac..448f162 100644
--- a/tests/format.test
+++ b/tests/format.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: format.test,v 1.11.2.6 2004/10/27 17:55:14 kennykb Exp $
+# RCS: @(#) $Id: format.test,v 1.11.2.7 2005/06/17 23:26:20 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -365,6 +365,10 @@ test format-10.2 {"h" format specifier} {nonPortable} {
test format-10.3 {"h" format specifier} {nonPortable} {
format %hd 0x10000
} 0
+test format-10.4 {"h" format specifier} {
+ # Bug 1154163: This is minimal behaviour for %hx specifier!
+ format %hx 1
+} 1
test format-11.1 {XPG3 %$n specifiers} {
format {%2$d %1$d} 4 5