diff options
| author | Julie Qiu <julie@golang.org> | 2020-09-01 22:40:52 -0400 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-09-02 16:46:14 +0000 |
| commit | d0a182d328c2ca96a505dcafe29f197526d897a4 (patch) | |
| tree | 50fa885931506afacfd8fb9a470ee7d68af7b6d6 /internal/postgres/path_test.go | |
| parent | 16ca4f2299153124ca2f996b94db92bc98fcebd1 (diff) | |
| download | go-x-pkgsite-d0a182d328c2ca96a505dcafe29f197526d897a4.tar.xz | |
internal: remove Unit.Package
Unit.Pacakge is removed, since it isn't need for anything.
For golang/go#39629
Change-Id: Ic620603550874de8a0b4c37c67a88bee65ec7933
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/252323
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/path_test.go')
| -rw-r--r-- | internal/postgres/path_test.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/postgres/path_test.go b/internal/postgres/path_test.go index 86f026a5..44c2ff99 100644 --- a/internal/postgres/path_test.go +++ b/internal/postgres/path_test.go @@ -62,10 +62,7 @@ func TestGetUnitMeta(t *testing.T) { }, } if d == pkgPath { - dir.Package = &internal.Package{ - Path: pkgPath, - Name: pkgName, - } + dir.Name = pkgName dir.Documentation = &internal.Documentation{} } sample.AddUnit(m, dir) |
