summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-03-28 19:25:54 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-03-28 19:25:54 (GMT)
commite7e6720ba42b35b01294a33db00b2d80a3ca1fab (patch)
tree4a905aa1396f022c09dfa8ad86df6e61882e8d98 /tests
parenta32dffe303445fed997b22794752d372bd997399 (diff)
downloadtcl-e7e6720ba42b35b01294a33db00b2d80a3ca1fab.zip
tcl-e7e6720ba42b35b01294a33db00b2d80a3ca1fab.tar.gz
tcl-e7e6720ba42b35b01294a33db00b2d80a3ca1fab.tar.bz2
Add a test for fixed bug.
Diffstat (limited to 'tests')
-rw-r--r--tests/binary.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/binary.test b/tests/binary.test
index a2a9144..399a07c 100644
--- a/tests/binary.test
+++ b/tests/binary.test
@@ -2624,6 +2624,9 @@ test binary-72.27 {binary encode base64} -body {
test binary-72.28 {binary encode base64} -body {
binary encode base64 -maxlen 6 -wrapchar 0123456789 abcabcabc
} -result {YWJjYW0123456789JjYWJj}
+test binary-72.29 {binary encode base64} {
+ string length [binary encode base64 -maxlen 3 -wrapchar \xca abc]
+} 5
test binary-73.1 {binary decode base64} -body {
binary decode base64