summaryrefslogtreecommitdiffstats
path: root/tests/execute.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-10-30 03:38:26 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-10-30 03:38:26 (GMT)
commit89139479b49abdaeae4ba032803c788a1d83564f (patch)
tree3396f56ff7d2b83552900cb252ef14ae465266a7 /tests/execute.test
parent11e8a2ccbbd483b7bfd54c822a7df1445ee45f0f (diff)
parentc83d36abf02c571cc0732ec5c7f8250d3be0df5a (diff)
downloadtcl-89139479b49abdaeae4ba032803c788a1d83564f.zip
tcl-89139479b49abdaeae4ba032803c788a1d83564f.tar.gz
tcl-89139479b49abdaeae4ba032803c788a1d83564f.tar.bz2
merge novem
Diffstat (limited to 'tests/execute.test')
-rw-r--r--tests/execute.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/execute.test b/tests/execute.test
index 2d6bda2..8e3924e 100644
--- a/tests/execute.test
+++ b/tests/execute.test
@@ -724,7 +724,7 @@ test execute-6.14 {Tcl_ExprObj: exprcode context validation} -setup {
}
set result {}
lappend result [expr $e]
- lappend result [namespace eval foo {expr $e}]
+ lappend result [namespace eval foo [list expr $e]]
} -cleanup {
namespace delete foo
} -result {1 2}
@@ -733,11 +733,11 @@ test execute-6.15 {Tcl_ExprObj: exprcode name resolution epoch validation} -setu
} -body {
set e { [llength {}]+1 }
set result {}
- lappend result [namespace eval foo {expr $e}]
+ lappend result [namespace eval foo [list expr $e]]
namespace eval foo {
proc llength {args} {return 1}
}
- lappend result [namespace eval foo {expr $e}]
+ lappend result [namespace eval foo [list expr $e]]
} -cleanup {
namespace delete foo
} -result {1 2}