aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module_test.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2021-05-04 18:54:28 -0400
committerJulie Qiu <julie@golang.org>2021-05-05 16:29:51 +0000
commit0dd74b0147638cc0e83d4e4dcb5494f84f4128a4 (patch)
tree6e12db11f089d8572218653621eedd3df1838b1b /internal/postgres/insert_module_test.go
parentd91b6b559ecd20d8627f8e6ed1fca5e1b4f4ac86 (diff)
downloadgo-x-pkgsite-0dd74b0147638cc0e83d4e4dcb5494f84f4128a4.tar.xz
internal: enable symbol history for stdlib
Symbol history for standard library packages are now always displayed. For golang/go#37102 Change-Id: I323c7735726a22d4caac39bebd2e8d912fd03aad Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/317013 Trust: Julie Qiu <julie@golang.org> Run-TryBot: 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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/postgres/insert_module_test.go b/internal/postgres/insert_module_test.go
index 67d13adc..5b26656c 100644
--- a/internal/postgres/insert_module_test.go
+++ b/internal/postgres/insert_module_test.go
@@ -113,6 +113,7 @@ func checkModule(ctx context.Context, t *testing.T, db *DB, want *internal.Modul
wantu.Subdirectories = subdirectories
wantu.BuildContexts = got.BuildContexts
opts := cmp.Options{
+ cmpopts.EquateEmpty(),
cmpopts.IgnoreFields(licenses.Metadata{}, "Coverage", "OldCoverage"),
cmp.AllowUnexported(source.Info{}, safehtml.HTML{}),
}