Loading pkgs/tools/networking/lychee/tests/fail.nix +2 −2 Original line number Diff line number Diff line Loading @@ -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 ''; Loading @@ -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 '' Loading
pkgs/tools/networking/lychee/tests/fail.nix +2 −2 Original line number Diff line number Diff line Loading @@ -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 ''; Loading @@ -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 ''