Skip to content

Commit 617df38

Browse files
author
merge-queue-bot
committed
Merge PR #481: Fix Pages deploy: repoint link probes off pruned docs + verify render in PR CI
2 parents 4d80461 + 019c6ed commit 617df38

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

internal/release/verifylinks_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ func TestVerifyWebsiteLinks_AcceptsUnquotedHref(t *testing.T) {
5858
require.NoError(t, VerifyWebsiteLinks(root, ""))
5959
}
6060

61-
// TestVerifyWebsiteLinks_FailsOnMissingSiblingMD removes the only
62-
// clean doc permalink so the recursive sibling-.md probe finds no
63-
// match anywhere in the rendered tree.
61+
// TestVerifyWebsiteLinks_FailsOnMissingSiblingMD overwrites the
62+
// pinned reference/index.html with a stale `.md` ref, so the
63+
// non-recursive sibling-.md probe reads that one file and finds no
64+
// permalink match.
6465
func TestVerifyWebsiteLinks_FailsOnMissingSiblingMD(t *testing.T) {
6566
root := goodSite(t, "")
6667
writeFile(t, filepath.Join(root, "reference", "index.html"),

0 commit comments

Comments
 (0)