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 | ff0e2463cb108f9b0481ac516251142506818114 (patch) | |
tree | 96069e23131f9b94d5bc1823a86180fcbdbfc217 /tests/ooNext2.test | |
parent | 470dc679b3ef5fad8fa57ec1e90b9f13b676c229 (diff) | |
download | tcl-ff0e2463cb108f9b0481ac516251142506818114.zip tcl-ff0e2463cb108f9b0481ac516251142506818114.tar.gz tcl-ff0e2463cb108f9b0481ac516251142506818114.tar.bz2 |
Update TclOO package to 0.7, correct copyright dates.
Diffstat (limited to 'tests/ooNext2.test')
-rw-r--r-- | tests/ooNext2.test | 10 |
1 files changed, 4 insertions, 6 deletions
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::* } |