Skip to content

Commit e44e9d0

Browse files
committed
Add test for subcommand list of interp child, never previously tested
1 parent 63e1acd commit e44e9d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/interp.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ test interp-1.9 {options for interp command} -returnCodes error -body {
6666
test interp-1.10 {options for interp command} -returnCodes error -body {
6767
interp target
6868
} -result {wrong # args: should be "interp target path alias"}
69+
test interp-1.11 {options for interp child command} -returnCodes error -setup {
70+
interp create child
71+
} -body {
72+
child gorp
73+
} -cleanup {
74+
interp delete child
75+
} -result {bad option "gorp": must be alias, aliases, bgerror, debug, eval, expose, hide, hidden, issafe, invokehidden, limit, marktrusted, recursionlimit, or set}
6976

7077
# Part 1: Basic interpreter creation tests:
7178
test interp-2.1 {basic interpreter creation} {

0 commit comments

Comments
 (0)