diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-16 14:52:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-16 14:52:46 (GMT) |
commit | 85461dc671e51b74fb17b69a207abfedbffc1d91 (patch) | |
tree | dfceab88a11dfd23749b50a658e02ee183038edb /tests/init.test | |
parent | 53a12f1cf62f19f53ef964da17fc300de9e1ecdb (diff) | |
parent | 91a20bc018f04bcf8ce13412ad16cfcbe9e53489 (diff) | |
download | tcl-bug_0b8c387cf7.zip tcl-bug_0b8c387cf7.tar.gz tcl-bug_0b8c387cf7.tar.bz2 |
Merge trunk. bug_0b8c387cf7
Add TCL_EVAL_GLOBAL flag to Tcl_EvalObjEx(), for reason mentioned in [0b8c387cf7].
Diffstat (limited to 'tests/init.test')
-rw-r--r-- | tests/init.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/init.test b/tests/init.test index 41b8624..0241283 100644 --- a/tests/init.test +++ b/tests/init.test @@ -28,7 +28,7 @@ test init-1.2 {auto_qualify - absolute cmd - global} { } global test init-1.3 {auto_qualify - no colons cmd - global} { auto_qualify nocolons :: -} nocolons +} nocolons test init-1.4 {auto_qualify - no colons cmd - namespace} { auto_qualify nocolons ::sub } {::sub::nocolons nocolons} @@ -93,11 +93,11 @@ test init-2.5 {load safe:::setLogCmd - stage 2} { auto_reset catch {rename ::safe::setLogCmd {}} test init-2.6 {load setLogCmd from safe:: - stage 1} { - namespace eval safe setLogCmd + namespace eval safe setLogCmd rename ::safe::setLogCmd {} ;# should not fail } {} test init-2.7 {oad setLogCmd from safe:: - stage 2} { - namespace eval safe setLogCmd + namespace eval safe setLogCmd rename ::safe::setLogCmd {} ;# should not fail } {} test init-2.8 {load tcl::HistAdd} -setup { @@ -132,12 +132,12 @@ foreach arg [subst -nocommands -novariables { and is long enough to be truncated and " <- includes a false lead in the prune point search and must be longer still to force truncation} - {contrived example: rare circumstance + {contrived example: rare circumstance where the point at which to prune the error stack cannot be uniquely determined. foo bar foo "} - {contrived example: rare circumstance + {contrived example: rare circumstance where the point at which to prune the error stack cannot be uniquely determined. foo bar |