summaryrefslogtreecommitdiffstats
path: root/library/tcltest/tcltest.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-05-05 16:59:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-05-05 16:59:49 (GMT)
commitf078556e548f07a9a211e161b1526adc5bee0a15 (patch)
treefd04ccc16c71a93ad3790d367bbf15860bd58a10 /library/tcltest/tcltest.tcl
parent805d2851fd086d66ae78c4a69446463105d1cba9 (diff)
downloadtcl-f078556e548f07a9a211e161b1526adc5bee0a15.zip
tcl-f078556e548f07a9a211e161b1526adc5bee0a15.tar.gz
tcl-f078556e548f07a9a211e161b1526adc5bee0a15.tar.bz2
* library/tcltest/tcltest.tcl: The -returnCodes option to [test]
failed to recognize the symbolic name "ok" for return code 0.
Diffstat (limited to 'library/tcltest/tcltest.tcl')
-rw-r--r--library/tcltest/tcltest.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 43ca8e7..7c237e6 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,7 +16,7 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.78.2.2 2003/04/21 20:41:55 dgp Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.78.2.3 2003/05/05 16:59:50 dgp Exp $
package require Tcl 8.3 ;# uses [glob -directory]
namespace eval tcltest {
@@ -1919,7 +1919,7 @@ proc tcltest::test {name description args} {
}
# Replace symbolic valies supplied for -returnCodes
- foreach {strcode numcode} {normal 0 error 1 return 2 break 3 continue 4} {
+ foreach {strcode numcode} {ok 0 normal 0 error 1 return 2 break 3 continue 4} {
set returnCodes [string map -nocase [list $strcode $numcode] $returnCodes]
}
} else {