diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-31 21:59:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-31 22:39:48 +0200 |
commit | 1a706ff5cf12202c80bcaafb77a3cab43bac6f4f (patch) | |
tree | e263440fe6e4b985255b4bde7be5fbb0f1775526 /tests/snix.scm | |
parent | 23185ceadcb522c702cde28be2b5a7379d4ee9f1 (diff) | |
download | patches-1a706ff5cf12202c80bcaafb77a3cab43bac6f4f.tar patches-1a706ff5cf12202c80bcaafb77a3cab43bac6f4f.tar.gz |
base32: Use a custom error condition instead of 'misc-error'.
Suggested by Christopher Allan Webber <cwebber@dustycloud.org>.
* guix/base32.scm (&invalid-base32-character): New error condition.
(make-base32-string->bytevector): Use it instead of 'error'.
* tests/base32.scm ("&invalid-base32-character"): New test.
Diffstat (limited to 'tests/snix.scm')
0 files changed, 0 insertions, 0 deletions