diff options
author | Justus Winter <[email protected]> | 2017-04-20 15:32:25 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-04-24 13:47:29 +0000 |
commit | 9ae63b9caefdf3e925c5928667fcd9227132d27f (patch) | |
tree | 6f229416f588656549bb3be6fd3126d26dfdc3ee | |
parent | gpgscm: Improve syntax checking. (diff) | |
download | gnupg-9ae63b9caefdf3e925c5928667fcd9227132d27f.tar.gz gnupg-9ae63b9caefdf3e925c5928667fcd9227132d27f.zip |
gpgscm: Fix test.
* tests/gpgscm/t-child.scm: Use 'string-length' on the string.
Signed-off-by: Justus Winter <[email protected]>
-rw-r--r-- | tests/gpgscm/t-child.scm | 4 |
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.") |