summaryrefslogtreecommitdiffstats
path: root/tests/info.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/info.test')
-rw-r--r--tests/info.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/info.test b/tests/info.test
index 18f5c7a..ce51523 100644
--- a/tests/info.test
+++ b/tests/info.test
@@ -103,8 +103,8 @@ test info-2.5 {info body option, returning bytecompiled bodies} -body {
# causing an empty string to be returned [Bug #545644]
test info-2.6 {info body option, returning list bodies} {
proc foo args [list subst bar]
- list [string length [info body foo]] \
- [foo; string length [info body foo]]
+ list [string bytelength [info body foo]] \
+ [foo; string bytelength [info body foo]]
} {9 9}
proc testinfocmdcount {} {