diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-12 13:30:32 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-21 21:16:45 +0200 |
commit | ed4281ff072443167c43207c039570126061d23b (patch) | |
tree | 3c5c0c73a43935d19cc12bd39036b08b7dd4230b /tests/test/crypto.scm | |
parent | Allow tests in subdirs. (diff) | |
download | calp-ed4281ff072443167c43207c039570126061d23b.tar.gz calp-ed4281ff072443167c43207c039570126061d23b.tar.xz |
Add a lot of new unit tests.
Diffstat (limited to 'tests/test/crypto.scm')
-rw-r--r-- | tests/test/crypto.scm | 3 |
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)) |