aboutsummaryrefslogtreecommitdiff
path: root/cmd/golangorg
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2025-07-09 14:45:55 -0400
committerAlan Donovan <adonovan@google.com>2025-07-09 12:28:14 -0700
commitdc7dcdcd9fd67b0d304e82d83805f397e545a33e (patch)
tree4eb831edb58297e183aa9edce580b3fa9092b0d9 /cmd/golangorg
parent05841c290eb5ce8e1cb6f3c7ceca28102aad521a (diff)
downloadgo-x-website-dc7dcdcd9fd67b0d304e82d83805f397e545a33e.tar.xz
cmd/golangorg/testdata: use tip for gopls tests, for now
(The new file structure won't appear until the gopls 20 release, and this causes AppEngine deployment to fail.) Updates golang/go#68977 Change-Id: I2e9a7222bb3cada1f32be4da6614c135fec14815 Reviewed-on: https://go-review.googlesource.com/c/website/+/686819 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'cmd/golangorg')
-rw-r--r--cmd/golangorg/testdata/godev.txt15
1 files changed, 13 insertions, 2 deletions
diff --git a/cmd/golangorg/testdata/godev.txt b/cmd/golangorg/testdata/godev.txt
index c2637556..c2816fcc 100644
--- a/cmd/golangorg/testdata/godev.txt
+++ b/cmd/golangorg/testdata/godev.txt
@@ -126,11 +126,22 @@ body contains <i>This content is part of the <a href="/wiki/">Go Wiki</a>.</i>
# These assertions should work both with the dummy docs in _content
# and the real x/tools, since the deployment tests run them too.
+#
+# TODO(adonovan): when gopls/v0.20.0 is released, the new gopls/doc/ file
+# locations tree will allow the assertions below to pass with the actual
+# contents of x/tools as exercised by the deployment tests.
+# Until then, we must test against tip.golang.org.
+#
+# GET https://go.dev/gopls/
+# body contains Gopls: Home
+#
+# GET https://go.dev/gopls/settings
+# body contains Gopls: Settings
-GET https://go.dev/gopls/
+GET https://tip.golang.org/gopls/
body contains Gopls: Home
-GET https://go.dev/gopls/settings
+GET https://tip.golang.org/gopls/settings
body contains Gopls: Settings
GET https://go.dev/pkg/cmd/go/?m=old