summaryrefslogtreecommitdiff
path: root/tests/file-systems.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/file-systems.scm')
-rw-r--r--tests/file-systems.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/file-systems.scm b/tests/file-systems.scm
index d445b4971f1..c36509b2b03 100644
--- a/tests/file-systems.scm
+++ b/tests/file-systems.scm
@@ -40,6 +40,16 @@
40 (bytevector=? (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb") 40 (bytevector=? (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb")
41 (string->uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb")))) 41 (string->uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb"))))
42 42
43(test-assert "uuid, syntax error"
44 (catch 'syntax-error
45 (lambda ()
46 (eval '(uuid "foobar") (current-module))
47 #f)
48 (lambda (key proc message location form . args)
49 (and (eq? proc 'uuid)
50 (string-contains message "invalid UUID")
51 (equal? form '(uuid "foobar"))))))
52
43(test-end) 53(test-end)
44 54
45 55