summaryrefslogtreecommitdiffstats
path: root/tests/if.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-21 07:13:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-21 07:13:48 (GMT)
commit09c0f6835523794621c9bae88e5ea3b955c14878 (patch)
tree346e19c129eb5d40a77ac2febe99a9abccd086cc /tests/if.test
parent104527a10755e3d38008d55cc79bd8f76ce4d9e8 (diff)
downloadtcl-09c0f6835523794621c9bae88e5ea3b955c14878.zip
tcl-09c0f6835523794621c9bae88e5ea3b955c14878.tar.gz
tcl-09c0f6835523794621c9bae88e5ea3b955c14878.tar.bz2
"trace variable" -> "trace add variable" in testcases (and documentation)
Diffstat (limited to 'tests/if.test')
-rw-r--r--tests/if.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/if.test b/tests/if.test
index c5babdd..a1399a0 100644
--- a/tests/if.test
+++ b/tests/if.test
@@ -1265,7 +1265,7 @@ test if-10.6 {double invocation of variable traces} -body {
set var "$counter + [concat $extraargs]"
}
}
- trace variable iftracevar r [list iftraceproc 10]
+ trace add variable iftracevar read [list iftraceproc 10]
list [catch {if "$iftracevar + 20" {}} a] $a \
[catch {if "$iftracevar + 20" {}} b] $b
} -cleanup {