summaryrefslogtreecommitdiffstats
path: root/tests/regexp.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-30 08:49:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-30 08:49:18 (GMT)
commit07603e3b381387670e03489d397205372589c336 (patch)
tree65eee861d510dc0d9cb7916edd9792ec363c944f /tests/regexp.test
parent092b62fc6bc9cb55ef045a8532fe211acf9f8ec1 (diff)
parent471313fea05798b7d188c6f69266b319236abef1 (diff)
downloadtcl-07603e3b381387670e03489d397205372589c336.zip
tcl-07603e3b381387670e03489d397205372589c336.tar.gz
tcl-07603e3b381387670e03489d397205372589c336.tar.bz2
Merge 8.7. Remove "string bytelength" completely. Also fix some TIP #595 leftover testcases, which were skipped
Diffstat (limited to 'tests/regexp.test')
-rw-r--r--tests/regexp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regexp.test b/tests/regexp.test
index e788b7f..c0db137 100644
--- a/tests/regexp.test
+++ b/tests/regexp.test
@@ -771,8 +771,8 @@ test regexp-20.1 {regsub shared object shimmering} -body {
set b $a
set c abcdefghijklmnopqurstuvwxyz0123456789
regsub $a $c $b d
- list $d [string length $d] [string bytelength $d]
-} -result [list abcdefghijklmnopqurstuvwxyz0123456789 37 37]
+ list $d [string length $d]
+} -result [list abcdefghijklmnopqurstuvwxyz0123456789 37]
test regexp-20.2 {regsub shared object shimmering with -about} -body {
eval regexp -about abc
} -result {0 {}}