Commit 6a668b71 authored by Robert Hensing's avatar Robert Hensing Committed by github-actions[bot]
Browse files

testers.lycheeLinkCheck: Clarify test data

(cherry picked from commit 5acbed79ee55233dfb4e803473783a85bdbb5666)
parent 912abfa9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ let
  sitePkg = runCommand "site" { } ''
    dist=$out/dist
    mkdir -p $dist
    echo "<html><body><a href=\"https://example.com/foo.html#butwhere\">foo</a></body></html>" > $dist/index.html
    echo "<html><body><a href=\"https://example.com/foo.html#foos-missing-anchor\">foo</a></body></html>" > $dist/index.html
    echo "<html><body><a href=\".\">index</a></body></html>" > $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
  ''