tests: Fix typo in 'tests/store.scm'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 5 Jul 2021 14:43:37 +0000 (16:43 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 5 Jul 2021 14:43:37 +0000 (16:43 +0200)
This typo had always been there since the test was introduced in commit
ce72c780746776a86f59747f5eff8731cb4ff39b.  Presumably, it became visible
with 9e5812ac59b01ff011ec0c5b0f437dfe85d6fcc7, where caching was no
longer global and thus the 'store' argument of 'package-derivation' was
actually being used.

* tests/store.scm ("current-build-output-port, UTF-8"): Refer to
'%store' rather than 's' in 'package-derivation' call.

tests/store.scm

index 3266fa7..d77c261 100644 (file)
                  (d (build-expression->derivation
                      %store "foo" `(display ,s)
                      #:guile-for-build
-                     (package-derivation s %bootstrap-guile (%current-system)))))
+                     (package-derivation %store %bootstrap-guile
+                                         (%current-system)))))
             (guard (c ((store-protocol-error? c) #t))
               (build-derivations %store (list d))))))))
    "Here’s a Greek letter: λ."))