From 0063578c5e5664c48cef25a87c2a0d815f8a09a3 Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 4 Apr 2002 15:30:55 +0000 Subject: * namespace protection for the getMatchingFiles alias. --- library/tcltest/tcltest.tcl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index 1bd570b..6568eeb 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -15,7 +15,7 @@ # Copyright (c) 2000 by Ajuba Solutions # All rights reserved. # -# RCS: @(#) $Id: tcltest.tcl,v 1.44 2002/04/04 05:36:56 hobbs Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.45 2002/04/04 15:30:55 dgp Exp $ # create the "tcltest" namespace for all testing variables and # procedures @@ -2547,8 +2547,9 @@ proc tcltest::cleanupTests {{calledFromAllFile 0}} { # Side Effects: # None -# a lower case version is needed for compatibility with 8.3 -interp alias {} tcltest::getMatchingFiles {} tcltest::GetMatchingFiles +# a lower case version is needed for compatibility with tcltest 1.0 +interp alias {} [namespace current]::tcltest::getMatchingFiles \ + {} [namespace current]::tcltest::GetMatchingFiles proc tcltest::GetMatchingFiles { {searchDirectory ""} } { if {[llength [info level 0]] == 1} { -- cgit v0.12