summaryrefslogtreecommitdiffstats
path: root/tests/stack.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)
commit972b9eeb07219c4fd748d1f8724503e104f15b1a (patch)
treefe7cda3c3a7c230ce8087e0d21f017d6aa73dd97 /tests/stack.test
parent9023ee32ce4de7d531990f13eaed136d84e655c0 (diff)
downloadtcl-972b9eeb07219c4fd748d1f8724503e104f15b1a.zip
tcl-972b9eeb07219c4fd748d1f8724503e104f15b1a.tar.gz
tcl-972b9eeb07219c4fd748d1f8724503e104f15b1a.tar.bz2
For Parse/eval, select modernizations from Patrick Fradin.
Diffstat (limited to 'tests/stack.test')
-rw-r--r--tests/stack.test6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/stack.test b/tests/stack.test
index 96bcb98..62c3e98 100644
--- a/tests/stack.test
+++ b/tests/stack.test
@@ -9,10 +9,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 a failure in this test results in a crash of the executable.
# In order to avoid that, we do a basic check of the current stacksize.