summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormig <mig>2013-01-11 23:29:46 (GMT)
committermig <mig>2013-01-11 23:29:46 (GMT)
commite81a0740ec43835bfd70f6867feccc2b5bcc7b1d (patch)
tree99aa2168e58535f08135501a38216ce933c195cc
parentd81457480e5c82082fc46b4ef2e1f7bcd2406e73 (diff)
parente5f22219836cbcf115d9d3ea3cf56b7751af68e4 (diff)
downloadtcl-e81a0740ec43835bfd70f6867feccc2b5bcc7b1d.zip
tcl-e81a0740ec43835bfd70f6867feccc2b5bcc7b1d.tar.gz
tcl-e81a0740ec43835bfd70f6867feccc2b5bcc7b1d.tar.bz2
merge trunk
-rw-r--r--tests/parse.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/parse.test b/tests/parse.test
index 0f76d64..bc4107d 100644
--- a/tests/parse.test
+++ b/tests/parse.test
@@ -26,6 +26,7 @@ testConstraint testparsevarname [llength [info commands testparsevarname]]
testConstraint testparsevar [llength [info commands testparsevar]]
testConstraint testasync [llength [info commands testasync]]
testConstraint testcmdtrace [llength [info commands testcmdtrace]]
+testConstraint testevent [llength [info commands testevent]]
test parse-1.1 {Tcl_ParseCommand procedure, computing string length} testparser {
testparser [bytestring "foo\0 bar"] -1
@@ -1090,6 +1091,14 @@ test parse-20.12 {TclParseBackslash: truncated escape} testparser {
testparser {\x12X} 5
} {- {\x12X} 1 word {\x12X} 2 backslash {\x12} 0 text X 0 {}}
+test parse-21.0 {Bug 1884496} testevent {
+ set ::script {set a [p]; return -level 0 $a}
+ proc ::p {} {string first s $::script}
+ testevent queue a head $::script
+ update
+} {}
+
+
cleanupTests
}