aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/golangorg/server_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/golangorg/server_test.go b/cmd/golangorg/server_test.go
index ec2d2f73..be655657 100644
--- a/cmd/golangorg/server_test.go
+++ b/cmd/golangorg/server_test.go
@@ -118,6 +118,11 @@ func TestAll(t *testing.T) {
"/talks/2013/highperf/",
"/talks/2016/refactor/",
"/tour/static/partials/",
+
+ // The "next" directory in GOROOT/doc goes through
+ // a fragment merging process, not served directly.
+ // See https://go.dev/cs/go/+/HEAD:doc/README.md.
+ "/doc/next/",
}
// Only check and report a URL the first time we see it.
@@ -251,6 +256,7 @@ func TestAll(t *testing.T) {
}
testTree("../../_content", "https://go.dev")
+ testTree(filepath.Join(runtime.GOROOT(), "doc"), "https://go.dev/doc")
}
// fixURL returns the corrected URL for u,