diff options
author | dgp <dgp@users.sourceforge.net> | 2003-07-16 14:31:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-07-16 14:31:35 (GMT) |
commit | 1f0d3084df03748a35426a0bb0d25572e4bf21a7 (patch) | |
tree | f3340b7a3894f749135fb1b1f30e7600f73bc14b /library/tcltest | |
parent | 1b6395d80bb9288f863f41120d7ae6715a68f080 (diff) | |
download | tcl-1f0d3084df03748a35426a0bb0d25572e4bf21a7.zip tcl-1f0d3084df03748a35426a0bb0d25572e4bf21a7.tar.gz tcl-1f0d3084df03748a35426a0bb0d25572e4bf21a7.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 7c237e6..1bc0037 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.3 2003/05/05 16:59:50 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.78.2.4 2003/07/16 14:31:35 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 |