summaryrefslogtreecommitdiffstats
path: root/tests/thread.test
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2015-06-05 19:58:42 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2015-06-05 19:58:42 (GMT)
commit2e307120931a7073a581e319769d14fdb657f534 (patch)
tree472ce2f11a28bd7d64406eb888b810bb81bcf2ab /tests/thread.test
parent6f63d23863d8c38063f6a6689706fa8e9fae2469 (diff)
downloadtcl-2e307120931a7073a581e319769d14fdb657f534.zip
tcl-2e307120931a7073a581e319769d14fdb657f534.tar.gz
tcl-2e307120931a7073a581e319769d14fdb657f534.tar.bz2
Fix typo in three thread tests.
Diffstat (limited to 'tests/thread.test')
-rw-r--r--tests/thread.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/thread.test b/tests/thread.test
index f32ef61..6032bae 100644
--- a/tests/thread.test
+++ b/tests/thread.test
@@ -564,7 +564,7 @@ test thread-7.14 {cancel: vwait} -constraints {thread drainEventQueue} -setup {
unset -nocomplain ::threadSawError ::threadError ::threadId ::threadIdStarted
} -body {
set serverthread [thread::create -joinable \
- [string map [list %ID [thread::id]] {
+ [string map [list %ID% [thread::id]] {
if {![info exists foo]} then {
# signal the primary thread that we are ready
# to be canceled now (we are running).
@@ -616,7 +616,7 @@ test thread-7.16 {cancel: expr} -constraints {thread drainEventQueue} -setup {
unset -nocomplain ::threadSawError ::threadError ::threadId ::threadIdStarted
} -body {
set serverthread [thread::create -joinable \
- [string map [list %ID [thread::id]] {
+ [string map [list %ID% [thread::id]] {
set i [interp create]
$i eval "package require -exact Thread [package present Thread]"
$i eval {
@@ -1372,7 +1372,7 @@ test thread-7.37 {cancel: send async thread cancel nested catch inside pure insi
unset -nocomplain ::threadSawError ::threadError ::threadId ::threadIdStarted
} -body {
set serverthread [thread::create -joinable \
- [string map [list %ID [thread::id]] {
+ [string map [list %ID% [thread::id]] {
proc foobar {} {
set catch catch
set while while