summaryrefslogtreecommitdiffstats
path: root/tests/lindex.test
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-07-13 23:15:21 (GMT)
committernijtmans <nijtmans>2008-07-13 23:15:21 (GMT)
commitad35d9b5b7a3de682d371c0bb686815f1c5e849e (patch)
treeaacaf7cde84808f89893f7542a9a079c3e8603b1 /tests/lindex.test
parent28f4419947aa4b448501687014bb415dc7096511 (diff)
downloadtcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.zip
tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.tar.gz
tcl-ad35d9b5b7a3de682d371c0bb686815f1c5e849e.tar.bz2
more consistent wrong # arg messages: change all messages containing ?options? to the form ?-option value ...?
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 {}