diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-15 18:56:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-15 18:56:46 (GMT) |
commit | 5a82fc544eb4e25be7b1a5684cbe18118ec0b558 (patch) | |
tree | 1b848d97d8205c513b7b879663336e11f162773d /tests/autoMkindex.test | |
parent | 2ad2cfc65859d094e893197487c093a9cf4e5f67 (diff) | |
download | tcl-5a82fc544eb4e25be7b1a5684cbe18118ec0b558.zip tcl-5a82fc544eb4e25be7b1a5684cbe18118ec0b558.tar.gz tcl-5a82fc544eb4e25be7b1a5684cbe18118ec0b558.tar.bz2 |
Change (internal) function ::auto_mkindex_parser::slavehook to ::auto_mkindex_parser::childhook. Some people care ....
Diffstat (limited to 'tests/autoMkindex.test')
-rw-r--r-- | tests/autoMkindex.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/autoMkindex.test b/tests/autoMkindex.test index b42d50d..85f7c0b 100644 --- a/tests/autoMkindex.test +++ b/tests/autoMkindex.test @@ -164,17 +164,17 @@ test autoMkindex-2.1 {commands on the autoload path can be imported} -setup { # Test auto_mkindex hooks -# Slave hook executes interesting code in the interp used to watch code. -test autoMkindex-3.1 {slaveHook} -setup { +# Child hook executes interesting code in the interp used to watch code. +test autoMkindex-3.1 {childHook} -setup { file delete tclIndex } -body { - auto_mkindex_parser::slavehook { + auto_mkindex_parser::childhook { _%@namespace eval ::blt { proc foo {} {} _%@namespace export foo } } - auto_mkindex_parser::slavehook { _%@namespace import -force ::blt::* } + auto_mkindex_parser::childhook { _%@namespace import -force ::blt::* } auto_mkindex . autoMkindex.tcl file exists tclIndex } -cleanup { |