From 6a668b71eec7d2f2dce76975fa316ea81de3b88c Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 27 May 2024 00:59:02 +0200 Subject: [PATCH] testers.lycheeLinkCheck: Clarify test data (cherry picked from commit 5acbed79ee55233dfb4e803473783a85bdbb5666) --- pkgs/tools/networking/lychee/tests/fail.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/lychee/tests/fail.nix b/pkgs/tools/networking/lychee/tests/fail.nix index cd98dd383146..5a83814d3c44 100644 --- a/pkgs/tools/networking/lychee/tests/fail.nix +++ b/pkgs/tools/networking/lychee/tests/fail.nix @@ -3,7 +3,7 @@ let sitePkg = runCommand "site" { } '' dist=$out/dist mkdir -p $dist - echo "foo" > $dist/index.html + echo "foo" > $dist/index.html echo "index" > $dist/foo.html ''; @@ -16,6 +16,6 @@ let in runCommand "link-check-fail" { inherit failure; } '' - grep -F butwhere $failure/testBuildFailure.log >/dev/null + grep -F foos-missing-anchor $failure/testBuildFailure.log >/dev/null touch $out ''