tests: Fix 'cond-expand' clause for 2.2/2.0.
Fixes a mistake in a9a0227c01
.
* tests/store.scm ("current-build-output-port, UTF-8 + garbage"):
Inverse the 'cond-expand' clauses since the 'guile-2.0' feature doesn't
exist.
This commit is contained in:
parent
aeb6fe5fa0
commit
ed407f3ccc
|
@ -384,8 +384,8 @@
|
||||||
(guard (c ((nix-protocol-error? c) #t))
|
(guard (c ((nix-protocol-error? c) #t))
|
||||||
(build-derivations %store (list d))))))))
|
(build-derivations %store (list d))))))))
|
||||||
(cond-expand
|
(cond-expand
|
||||||
(guile-2.0 "garbage: ?lambda: λ")
|
(guile-2.2 "garbage: <20>lambda: λ")
|
||||||
(else "garbage: <EFBFBD>lambda: λ"))))
|
(else "garbage: ?lambda: λ"))))
|
||||||
|
|
||||||
(test-assert "log-file, derivation"
|
(test-assert "log-file, derivation"
|
||||||
(let* ((b (add-text-to-store %store "build" "echo $foo > $out" '()))
|
(let* ((b (add-text-to-store %store "build" "echo $foo > $out" '()))
|
||||||
|
|
Loading…
Reference in New Issue