diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-12 10:54:48 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-07-12 10:54:48 (GMT) |
commit | 92740dd9047be0dac46bae7af8bb3e8b3291e27d (patch) | |
tree | 96069e23131f9b94d5bc1823a86180fcbdbfc217 /tests | |
parent | d9e114d7503c849a470e4ffd4514b7bb0f69fcd6 (diff) | |
download | tcl-92740dd9047be0dac46bae7af8bb3e8b3291e27d.zip tcl-92740dd9047be0dac46bae7af8bb3e8b3291e27d.tar.gz tcl-92740dd9047be0dac46bae7af8bb3e8b3291e27d.tar.bz2 |
Update TclOO package to 0.7, correct copyright dates.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/oo.test | 4 | ||||
-rw-r--r-- | tests/ooNext2.test | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/tests/oo.test b/tests/oo.test index 00663e9..540cdf3 100644 --- a/tests/oo.test +++ b/tests/oo.test @@ -2,12 +2,12 @@ # Sourcing this file into Tcl runs the tests and generates output for errors. # No output means no errors were found. # -# Copyright (c) 2006-2011 Donal K. Fellows +# Copyright (c) 2006-2012 Donal K. Fellows # # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require -exact TclOO 0.6.3 ;# Must match value in generic/tclOO.h +package require -exact TclOO 0.7 ;# Must match value in generic/tclOO.h package require tcltest 2 if {"::tcltest" in [namespace children]} { namespace import -force ::tcltest::* diff --git a/tests/ooNext2.test b/tests/ooNext2.test index eeade11..e78e0d0 100644 --- a/tests/ooNext2.test +++ b/tests/ooNext2.test @@ -2,16 +2,14 @@ # Sourcing this file into Tcl runs the tests and generates output for errors. # No output means no errors were found. # -# Copyright (c) 2006-2008 Donal K. Fellows +# Copyright (c) 2006-2011 Donal K. Fellows # # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. -# -# RCS: @(#) $Id: oo.test,v 1.59 2011/01/18 16:10:48 dkf Exp $ -package require -exact TclOO 0.6.3 ;# Must match value in configure.in -if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest 2 +package require -exact TclOO 0.7 ;# Must match value in configure.in +package require tcltest 2 +if {"::tcltest" in [namespace children]} { namespace import -force ::tcltest::* } |