summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-31 18:44:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-31 18:44:27 (GMT)
commit78910273c3cf2a299dee59d26531a93f51262727 (patch)
tree07c0ccd6c45752e2afed210677495f90f285cfeb
parentc36a4806cd6f1ac5d900df9e2f7884ce91e959cb (diff)
downloadtcl-78910273c3cf2a299dee59d26531a93f51262727.zip
tcl-78910273c3cf2a299dee59d26531a93f51262727.tar.gz
tcl-78910273c3cf2a299dee59d26531a93f51262727.tar.bz2
Minor fixes for marginally more clarity
-rw-r--r--tests/cmdAH.test20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index 68593d5..ac45434 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.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: cmdAH.test,v 1.47 2004/10/31 17:38:24 dkf Exp $
+# RCS: @(#) $Id: cmdAH.test,v 1.48 2004/10/31 18:44:27 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -629,14 +629,14 @@ test cmdAH-10.34 {Tcl_FileObjCmd: rootname} testsetplatform {
} a\\b.c\\
set num 35
foreach outer { {} a .a a. a.a } {
- foreach inner { {} a .a a. a.a } {
- set thing [format %s/%s $outer $inner]
-; test cmdAH-10.$num {Tcl_FileObjCmd: rootname and extension options} testsetplatform {
- testsetplatform unix
- format %s%s [file rootname $thing] [file ext $thing]
- } $thing
- set num [expr $num+1]
- }
+ foreach inner { {} a .a a. a.a } {
+ set thing [format %s/%s $outer $inner]
+ ;test cmdAH-10.$num {Tcl_FileObjCmd: rootname and extension options} testsetplatform "
+ testsetplatform unix
+ format %s%s [file rootname $thing] [file ext $thing]
+ " $thing
+ incr num
+ }
}
# extension
@@ -732,7 +732,7 @@ test cmdAH-11.34 {Tcl_FileObjCmd: extension} testsetplatform {
set num 35
foreach value {a..b a...b a.c..b ..b} result {.b .b .b .b} {
foreach p {unix windows} {
-; test cmdAH-11.$num {Tcl_FileObjCmd: extension} testsetplatform "
+ ;test cmdAH-11.$num {Tcl_FileObjCmd: extension} testsetplatform "
testsetplatform $p
file extension $value
" $result