diff options
| author | Jonathan Amsterdam <jba@google.com> | 2020-11-23 17:39:43 -0500 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2020-11-24 17:53:21 +0000 |
| commit | 2d9c3b5071bc2919f5bbc2c4bedb8be76101f82d (patch) | |
| tree | 81a879a88b76fe524f03658e12c7357737b3ed9a /internal/postgres/unit_test.go | |
| parent | 451cdd32608cfc9e82b18188b0179a84ee7d06d2 (diff) | |
| download | go-x-pkgsite-2d9c3b5071bc2919f5bbc2c4bedb8be76101f82d.tar.xz | |
many: remove Documentation.HTML
HTML is always generated from source, so the Documentation.HTML field
is no longer necessary.
Change-Id: I13cddbfbd983c8a2ff0cb9389e854887caadcc13
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/272509
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'internal/postgres/unit_test.go')
| -rw-r--r-- | internal/postgres/unit_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/postgres/unit_test.go b/internal/postgres/unit_test.go index 6f1fc50a..9d81663d 100644 --- a/internal/postgres/unit_test.go +++ b/internal/postgres/unit_test.go @@ -193,7 +193,6 @@ func checkUnit(ctx context.Context, t *testing.T, um *internal.UnitMeta, want *i if experiment.IsActive(ctx, internal.ExperimentGetUnitWithOneQuery) { want.NumImports = len(want.Imports) opts = append(opts, - cmpopts.IgnoreFields(internal.Documentation{}, "HTML"), cmpopts.IgnoreFields(internal.Unit{}, "Imports"), cmpopts.IgnoreFields(internal.Unit{}, "LicenseContents"), ) |
