aboutsummaryrefslogtreecommitdiff
path: root/tests/discovery.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/discovery.scm')
-rw-r--r--tests/discovery.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/discovery.scm b/tests/discovery.scm
index b838731e16..04de83f085 100644
--- a/tests/discovery.scm
+++ b/tests/discovery.scm
@@ -32,6 +32,10 @@
((('guix 'import _ ...) ..1)
#t)))
+(test-equal "scheme-modules, non-existent directory"
+ '()
+ (scheme-modules "/does/not/exist"))
+
(test-assert "all-modules"
(match (map module-name
(all-modules `((,%top-srcdir . "guix/build-system"))))