summary refs log tree commit diff
path: root/tests/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-07 14:40:03 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-30 22:48:44 +0200
commite7477dd59b434080182d12f42905476929e3b4e5 (patch)
tree737efb350c86e8c7165113d388e2cf3688139e6b /tests/packages.scm
parent83bdaf3150ba061739c53e82f68a595bf7b9744b (diff)
downloadguix-e7477dd59b434080182d12f42905476929e3b4e5.tar.gz
packages: 'expand-input' accepts any file-like object.
* guix/packages.scm (expand-input)[valid?]: Remove.
Call 'file-like?' instead of 'valid?'.  Remove 'struct?' clause.
* tests/packages.scm ("&package-input-error"): Adjust accordingly.
Diffstat (limited to 'tests/packages.scm')
-rw-r--r--tests/packages.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index f68b078b55..97c4c17e6e 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -744,7 +744,7 @@
 
 (let ((dummy (dummy-package "foo" (inputs `(("x" ,(current-module)))))))
   (test-equal "&package-input-error"
-    (list dummy (current-module))
+    (list dummy `("x" ,(current-module)))
     (guard (c ((package-input-error? c)
                (list (package-error-package c)
                      (package-error-invalid-input c))))