diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-12-14 17:29:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-12-14 17:29:11 (GMT) |
commit | 2873fa937d4219f949acd8eb3a9ab8a4596714f2 (patch) | |
tree | cb1b17d6107e32f791fd8f2b2781022fc4835e2f /tests/safe.test | |
parent | 9d5ab8c0763ef4bc7c012f964d622201c0c1899f (diff) | |
parent | c6496bf3c66241288028b50e8fddd98442a2ddab (diff) | |
download | tk-2873fa937d4219f949acd8eb3a9ab8a4596714f2.zip tk-2873fa937d4219f949acd8eb3a9ab8a4596714f2.tar.gz tk-2873fa937d4219f949acd8eb3a9ab8a4596714f2.tar.bz2 |
Merge 8.6
Diffstat (limited to 'tests/safe.test')
-rw-r--r-- | tests/safe.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/safe.test b/tests/safe.test index aeed361..eb67237 100644 --- a/tests/safe.test +++ b/tests/safe.test @@ -141,13 +141,13 @@ test safe-2.4 {Unsafe subcommands not available} -setup { safe::interpCreate a safe::loadTk a set status broken - if {[catch {interp eval a {tk scaling}} msg]} { + if {[catch {interp eval a {tk scaling 1}} msg]} { set status ok } list $status $msg } -cleanup { safe::interpDelete a -} -result {ok {scaling not accessible in a safe interpreter}} +} -result {ok {setting the scaling not accessible in a safe interpreter}} test safe-3.1 {Unsafe commands are available hidden} -setup { catch {safe::interpDelete a} |