aboutsummaryrefslogtreecommitdiff
path: root/tests/test/crypto.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/crypto.scm')
-rw-r--r--tests/test/crypto.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test/crypto.scm b/tests/test/crypto.scm
index 71ecfc99..8d195fa8 100644
--- a/tests/test/crypto.scm
+++ b/tests/test/crypto.scm
@@ -13,3 +13,6 @@
(test-equal "sha256 string digest to port"
"185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969"
(get-output-string port)))
+
+(test-error 'wrong-type-arg
+ (sha256 'something-which-is-not-a-string-or-bytevector))