summaryrefslogtreecommitdiffstats
path: root/tests/if-old.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-03-27 13:10:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-03-27 13:10:46 (GMT)
commite88eb75a729ea84a49d8ab8b475768bf2a95caa5 (patch)
tree9db34fa452371e88502f6804a91675f60ece2186 /tests/if-old.test
parentf317d5faa1c1077018a6612ddb1a59b6a5173fd4 (diff)
downloadtcl-e88eb75a729ea84a49d8ab8b475768bf2a95caa5.zip
tcl-e88eb75a729ea84a49d8ab8b475768bf2a95caa5.tar.gz
tcl-e88eb75a729ea84a49d8ab8b475768bf2a95caa5.tar.bz2
Removed test number dups [Bugs 710322, 710327, 710349, 710363]
Diffstat (limited to 'tests/if-old.test')
-rw-r--r--tests/if-old.test22
1 files changed, 5 insertions, 17 deletions
diff --git a/tests/if-old.test b/tests/if-old.test
index f0b977b..8c85f0a 100644
--- a/tests/if-old.test
+++ b/tests/if-old.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: if-old.test,v 1.5 2000/04/10 17:18:59 ericm Exp $
+# RCS: @(#) $Id: if-old.test,v 1.5.24.1 2003/03/27 13:11:12 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -45,22 +45,22 @@ test if-old-1.5 {taking proper branch} {
if 0 {set a 1} else {}
set a
} {}
-test if-old-1.5 {taking proper branch} {
+test if-old-1.6 {taking proper branch} {
set a {}
if 0 {set a 1} elseif 1 {set a 2} elseif 1 {set a 3} else {set a 4}
set a
} {2}
-test if-old-1.6 {taking proper branch} {
+test if-old-1.7 {taking proper branch} {
set a {}
if 0 {set a 1} elseif 0 {set a 2} elseif 1 {set a 3} else {set a 4}
set a
} {3}
-test if-old-1.7 {taking proper branch} {
+test if-old-1.8 {taking proper branch} {
set a {}
if 0 {set a 1} elseif 0 {set a 2} elseif 0 {set a 3} else {set a 4}
set a
} {4}
-test if-old-1.8 {taking proper branch, multiline test expr} {
+test if-old-1.9 {taking proper branch, multiline test expr} {
set a {}
if {($tcl_platform(platform) != "foobar1") && \
($tcl_platform(platform) != "foobar2")} {set a 3} else {set a 4}
@@ -162,15 +162,3 @@ test if-old-4.11 {error conditions} {
# cleanup
::tcltest::cleanupTests
return
-
-
-
-
-
-
-
-
-
-
-
-