From b67d1a3f36f2b15fb75de613942668b71cad1bd7 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 20 Apr 2017 17:32:25 +0200 Subject: gpgscm: Fix test. * tests/gpgscm/t-child.scm: Use 'string-length' on the string. Signed-off-by: Justus Winter --- t-child.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t-child.scm b/t-child.scm index 93208f4..fd1dcc3 100644 --- a/t-child.scm +++ b/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.") -- cgit v1.2.3