aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module_test.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2021-02-26 13:16:21 -0500
committerJulie Qiu <julie@golang.org>2021-03-01 16:58:54 +0000
commit7e7858473f8e9ff87873cd445a7403181346f6db (patch)
tree994e2cb4f290ce457c14e60bb6621af3c6e50e8f /internal/postgres/insert_module_test.go
parent17f3cfb711f246930a1ef6a40591ea1965c093b6 (diff)
downloadgo-x-pkgsite-7e7858473f8e9ff87873cd445a7403181346f6db.tar.xz
internal: do not display README at /std
The README is no longer displayed at pkg.go.dev/std. It is also no longer stored in the database when a std module is fetched. For golang/go#44356 Change-Id: I6b1605389bc3c97694b6ec2b06e28006a38be999 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/296950 Trust: Julie Qiu <julie@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/insert_module_test.go')
-rw-r--r--internal/postgres/insert_module_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/insert_module_test.go b/internal/postgres/insert_module_test.go
index a3a9a8a2..1e16166d 100644
--- a/internal/postgres/insert_module_test.go
+++ b/internal/postgres/insert_module_test.go
@@ -63,7 +63,7 @@ func TestInsertModule(t *testing.T) {
},
{
name: "stdlib",
- module: sample.Module("std", "v1.12.5", "context"),
+ module: sample.Module(stdlib.ModulePath, "v1.12.5", "context"),
},
{
name: "deprecated",