summaryrefslogtreecommitdiffstats
path: root/tests/scan.test
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-19 22:50:38 (GMT)
committernijtmans <nijtmans>2008-07-19 22:50:38 (GMT)
commit421f74b6e684727db193b1b1fc1e3a9649f86f58 (patch)
treec042d36466266a5022288e3db7d8d9a7dc6e81be /tests/scan.test
parent9c9a7764a3a00160ff48011547624ecf659a3dc9 (diff)
downloadtcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.zip
tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.gz
tcl-421f74b6e684727db193b1b1fc1e3a9649f86f58.tar.bz2
fix [2021443] inconsistant "wrong # args" messages
Diffstat (limited to 'tests/scan.test')
-rw-r--r--tests/scan.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/scan.test b/tests/scan.test
index 2a07f4b..ef40d4b 100644
--- a/tests/scan.test
+++ b/tests/scan.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: scan.test,v 1.21 2006/04/25 17:15:25 dgp Exp $
+# RCS: @(#) $Id: scan.test,v 1.22 2008/07/19 22:50:39 nijtmans Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -100,10 +100,10 @@ test scan-3.13 {ValidateFormat} {
test scan-4.1 {Tcl_ScanObjCmd, argument checks} {
list [catch {scan} msg] $msg
-} {1 {wrong # args: should be "scan string format ?varName varName ...?"}}
+} {1 {wrong # args: should be "scan string format ?varName ...?"}}
test scan-4.2 {Tcl_ScanObjCmd, argument checks} {
list [catch {scan string} msg] $msg
-} {1 {wrong # args: should be "scan string format ?varName varName ...?"}}
+} {1 {wrong # args: should be "scan string format ?varName ...?"}}
test scan-4.3 {Tcl_ScanObjCmd, argument checks} {
# degenerate case, before changed from 8.2 to 8.3
list [catch {scan string format} msg] $msg
@@ -509,7 +509,7 @@ test scan-8.1 {error conditions} {
test scan-8.2 {error conditions} {
catch {scan a} msg
set msg
-} {wrong # args: should be "scan string format ?varName varName ...?"}
+} {wrong # args: should be "scan string format ?varName ...?"}
test scan-8.3 {error conditions} {
list [catch {scan a %D x} msg] $msg
} {1 {bad scan conversion character "D"}}