aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/path_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/postgres/path_test.go')
-rw-r--r--internal/postgres/path_test.go5
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)