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)
commit321344b6749b9c463fc51fb58f8357cb9e53ede3 (patch)
tree9db34fa452371e88502f6804a91675f60ece2186 /tests/if-old.test
parent6e56c993442b5f7ba73398bc98031f24ef5bb75c (diff)
downloadtcl-321344b6749b9c463fc51fb58f8357cb9e53ede3.zip
tcl-321344b6749b9c463fc51fb58f8357cb9e53ede3.tar.gz
tcl-321344b6749b9c463fc51fb58f8357cb9e53ede3.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
-
-
-
-
-
-
-
-
-
-
-
-