aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/gpgscm/t-child.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gpgscm/t-child.scm b/tests/gpgscm/t-child.scm
index 93208f421..fd1dcc3fe 100644
--- a/tests/gpgscm/t-child.scm
+++ b/tests/gpgscm/t-child.scm
@@ -107,12 +107,12 @@
(pipe:spawn `(,child stdout4096))
(pipe:spawn `(,child cat)))
(tr:call-with-content (lambda (c)
- (assert (= 4096 (length c))))))
+ (assert (= 4096 (string-length c))))))
(tr:do
(tr:pipe-do
(pipe:spawn `(,child stdout8192))
(pipe:spawn `(,child cat)))
(tr:call-with-content (lambda (c)
- (assert (= 8192 (length c))))))
+ (assert (= 8192 (string-length c))))))
(echo "All good.")