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 | |
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')
-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::* } |