diff options
Diffstat (limited to 'internal/worker/fetcherror_test.go')
| -rw-r--r-- | internal/worker/fetcherror_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/worker/fetcherror_test.go b/internal/worker/fetcherror_test.go index e33cef48..86a7cc40 100644 --- a/internal/worker/fetcherror_test.go +++ b/internal/worker/fetcherror_test.go @@ -405,7 +405,7 @@ func checkPackage(ctx context.Context, t *testing.T, pkgPath string) { t.Fatalf("testDB.GetUnitMeta(%q, %q, %q): isPackage = false; want = true", pkgPath, internal.UnknownModulePath, sample.VersionString) } - dir, err := testDB.GetUnit(ctx, um, internal.WithMain, internal.BuildContext{}) + dir, err := testDB.GetUnit(ctx, um, internal.WithMain|internal.WithDocsSource, internal.BuildContext{}) if err != nil { t.Fatal(err) } |
