summaryrefslogtreecommitdiffstats
path: root/tests/parseExpr.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-30 20:42:10 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-30 20:42:10 (GMT)
commit4445787a0a5228ad9d533415e563d6ae0ec517bf (patch)
treefe7cda3c3a7c230ce8087e0d21f017d6aa73dd97 /tests/parseExpr.test
parent6a27aae72c76f68c63aa85b9bc8f159385534102 (diff)
downloadtcl-4445787a0a5228ad9d533415e563d6ae0ec517bf.zip
tcl-4445787a0a5228ad9d533415e563d6ae0ec517bf.tar.gz
tcl-4445787a0a5228ad9d533415e563d6ae0ec517bf.tar.bz2
For Parse/eval, select modernizations from Patrick Fradin.
Diffstat (limited to 'tests/parseExpr.test')
-rw-r--r--tests/parseExpr.test8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/parseExpr.test b/tests/parseExpr.test
index 29d8c9f..c1c489b 100644
--- a/tests/parseExpr.test
+++ b/tests/parseExpr.test
@@ -8,10 +8,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-if {[lsearch [namespace children] ::tcltest] == -1} {
- package require tcltest 2
- namespace import -force ::tcltest::*
-}
+package require tcltest 2
+namespace import ::tcltest::*
# Note that the Tcl expression parser (tclCompExpr.c) does not check
# the semantic validity of the expressions it parses. It does not check,
@@ -1055,5 +1053,5 @@ test parseExpr-22.18 {Bug 3401704} -constraints testexprparser -body {
# cleanup
-::tcltest::cleanupTests
+cleanupTests
return