aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/path_test.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2020-08-27 18:30:33 -0400
committerJulie Qiu <julie@golang.org>2020-08-28 18:20:03 +0000
commit597bd2b7e967a90a70b9be9dec81f0cbabc6a8e2 (patch)
tree99b422a873873f813868b70ed9c4ef511bbdbe10 /internal/postgres/path_test.go
parent38fce44f534692bed5adcf1de9bb28b52fb3b0c8 (diff)
downloadgo-x-pkgsite-597bd2b7e967a90a70b9be9dec81f0cbabc6a8e2.tar.xz
internal: rename Directory to Unit
For golang/go#39629 Change-Id: I7abe21764a58b6295926c6cd56ab327824570e77 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/251163 Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/path_test.go')
-rw-r--r--internal/postgres/path_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/path_test.go b/internal/postgres/path_test.go
index 468024bf..07b83139 100644
--- a/internal/postgres/path_test.go
+++ b/internal/postgres/path_test.go
@@ -57,7 +57,7 @@ func TestGetPathInfo(t *testing.T) {
}},
}
for d := pkgPath; d != "." && len(d) >= len(testModule.module); d = path.Dir(d) {
- dir := &internal.Directory{
+ dir := &internal.Unit{
DirectoryMeta: internal.DirectoryMeta{
Path: d,
},