From 9ae63b9caefdf3e925c5928667fcd9227132d27f 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 --- tests/gpgscm/t-child.scm | 4 ++-- 1 file 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.") -- cgit v1.2.3