summaryrefslogtreecommitdiffstats
path: root/tests/lindex.test
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-07-13 23:15:21 (GMT)
committernijtmans <nijtmans@noemail.net>2008-07-13 23:15:21 (GMT)
commit8c30ab9d75b1daed5f852f0d917fd53b50048545 (patch)
treeaacaf7cde84808f89893f7542a9a079c3e8603b1 /tests/lindex.test
parent94ce7c788f15947d1c379e48ec20d421866c5333 (diff)
downloadtcl-8c30ab9d75b1daed5f852f0d917fd53b50048545.zip
tcl-8c30ab9d75b1daed5f852f0d917fd53b50048545.tar.gz
tcl-8c30ab9d75b1daed5f852f0d917fd53b50048545.tar.bz2
more consistent wrong # arg messages: change all messages containing ?options? to the form ?-option value ...?
FossilOrigin-Name: 7dcec0e5e289de4aed4290b3ee93e1e425c765e0
Diffstat (limited to 'tests/lindex.test')
-rw-r--r--tests/lindex.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lindex.test b/tests/lindex.test
index 249acb9..1621fda 100644
--- a/tests/lindex.test
+++ b/tests/lindex.test
@@ -12,7 +12,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: lindex.test,v 1.17 2007/12/13 15:26:06 dgp Exp $
+# RCS: @(#) $Id: lindex.test,v 1.18 2008/07/13 23:15:22 nijtmans Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.2
@@ -26,7 +26,7 @@ testConstraint testevalex [llength [info commands testevalex]]
test lindex-1.1 {wrong # args} testevalex {
list [catch {testevalex lindex} result] $result
-} "1 {wrong # args: should be \"lindex list ?index...?\"}"
+} "1 {wrong # args: should be \"lindex list ?index ...?\"}"
# Indices that are lists or convertible to lists
@@ -190,7 +190,7 @@ test lindex-8.7 {data reuse} testevalex {
test lindex-9.1 {wrong # args} {
list [catch {lindex} result] $result
-} "1 {wrong # args: should be \"lindex list ?index...?\"}"
+} "1 {wrong # args: should be \"lindex list ?index ...?\"}"
test lindex-9.2 {ensure that compilation works in the right order} {
proc foo {} {
rename foo {}