diff options
author | dgp <dgp@users.sourceforge.net> | 2003-07-16 14:31:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-07-16 14:31:06 (GMT) |
commit | 309ae192f3961bfe87bdbc4e1b43b2dc048148ba (patch) | |
tree | 19bfb94423c0d92e6cfca76e8a7c26da94d858eb /library/tcltest | |
parent | 1334c5d933cd36acbf45e602e7644d6bb5b2d388 (diff) | |
download | tcl-309ae192f3961bfe87bdbc4e1b43b2dc048148ba.zip tcl-309ae192f3961bfe87bdbc4e1b43b2dc048148ba.tar.gz tcl-309ae192f3961bfe87bdbc4e1b43b2dc048148ba.tar.bz2 |
* library/tcltest/tcltest.tcl (ProcessFlags): Corrected broken call
* library/tcltest/pkgIndex.tcl: to [lrange]. Bumped
to version 2.2.4. [Bug 772333]
Diffstat (limited to 'library/tcltest')
-rw-r--r-- | library/tcltest/pkgIndex.tcl | 2 | ||||
-rw-r--r-- | library/tcltest/tcltest.tcl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/tcltest/pkgIndex.tcl b/library/tcltest/pkgIndex.tcl index b91babd..2d9b07e 100644 --- a/library/tcltest/pkgIndex.tcl +++ b/library/tcltest/pkgIndex.tcl @@ -9,4 +9,4 @@ # full path name of this file's directory. if {![package vsatisfies [package provide Tcl] 8.3]} {return} -package ifneeded tcltest 2.2.3 [list source [file join $dir tcltest.tcl]] +package ifneeded tcltest 2.2.4 [list source [file join $dir tcltest.tcl]] diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index f1f24ee..ca503a2 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.82 2003/05/05 20:54:40 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.83 2003/07/16 14:31:06 dgp Exp $ package require Tcl 8.3 ;# uses [glob -directory] namespace eval tcltest { @@ -24,7 +24,7 @@ namespace eval tcltest { # When the version number changes, be sure to update the pkgIndex.tcl file, # and the install directory in the Makefiles. When the minor version # changes (new feature) be sure to update the man page as well. - variable Version 2.2.3 + variable Version 2.2.4 # Compatibility support for dumb variables defined in tcltest 1 # Do not use these. Call [package provide Tcl] and [info patchlevel] @@ -1431,7 +1431,7 @@ proc tcltest::ProcessFlags {flagArray} { # but keep going if {[llength $moreOptions]} { append msg ", " - append msg [join [lrange $moreOptions 0 end -1] ", "] + append msg [join [lrange $moreOptions 0 end-1] ", "] append msg "or [lindex $moreOptions end]" } Warn $msg |