summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-web/util.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/guix-web/util.scm b/tests/guix-web/util.scm
index a796f78..e2b97fb 100644
--- a/tests/guix-web/util.scm
+++ b/tests/guix-web/util.scm
@@ -15,7 +15,7 @@
;;; License along with this program. If not, see
;;; <http://www.gnu.org/licenses/>.
-(define-module (test guix-web util)
+(define-module (tests guix-web util)
#:use-module (srfi srfi-64)
#:use-module (web request)
#:use-module (web uri)
@@ -38,7 +38,7 @@
(test-group "directory?"
(test-assert "when file is a directory"
- (not (directory? ".")))
+ (not (directory? (getcwd))))
(test-assert "when file is not a directory"
(not (directory? (current-filename)))))