summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-29 14:53:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-29 14:53:54 (GMT)
commit2bcac0715108b8c7158aa60f240c8c5dd26ad352 (patch)
treeaf555bb27b124e6944033836d85073cca4f81d64 /tests
parent4c8c9f526780b8741580cf273b449f2e46d3cd9d (diff)
downloadtcl-2bcac0715108b8c7158aa60f240c8c5dd26ad352.zip
tcl-2bcac0715108b8c7158aa60f240c8c5dd26ad352.tar.gz
tcl-2bcac0715108b8c7158aa60f240c8c5dd26ad352.tar.bz2
Fix [4768eb5c166a1b923e3472d18d75fdccc1a47513|4768eb5c16]: format-8.20 failure. Since "%q" now is a valid length specifier, we cannot use it any more to test for "bad field specifier"
Diffstat (limited to 'tests')
-rw-r--r--tests/format.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/format.test b/tests/format.test
index e199398..7186729 100644
--- a/tests/format.test
+++ b/tests/format.test
@@ -349,9 +349,9 @@ test format-8.19 {error conditions} {
catch {format %q x}
} 1
test format-8.20 {error conditions} {
- catch {format %q x} msg
+ catch {format %r x} msg
set msg
-} {bad field specifier "q"}
+} {bad field specifier "r"}
test format-8.21 {error conditions} {
catch {format %d}
} 1