diff --git a/gno.land/pkg/integration/pkgloader.go b/gno.land/pkg/integration/pkgloader.go index 71b1491b2a8..5968ce2b4ef 100644 --- a/gno.land/pkg/integration/pkgloader.go +++ b/gno.land/pkg/integration/pkgloader.go @@ -134,7 +134,7 @@ func (pl *PkgsLoader) LoadPackage(modroot string, path, name string) error { if err != nil { return fmt.Errorf("unable to load package imports in %q: %w", currentPkg.Dir, err) } - imports := importsMap.Merge(packages.FileKindPackageSource, packages.FileKindTest, packages.FileKindFiletest) + imports := importsMap.Merge(packages.FileKindPackageSource, packages.FileKindTest) for _, imp := range imports { if imp.PkgPath == currentPkg.Name || gnolang.IsStdlib(imp.PkgPath) { continue diff --git a/gno.land/pkg/integration/testdata/issue_3546.txtar b/gno.land/pkg/integration/testdata/issue_3546.txtar new file mode 100644 index 00000000000..6d0704df879 --- /dev/null +++ b/gno.land/pkg/integration/testdata/issue_3546.txtar @@ -0,0 +1,3 @@ +loadpkg gno.land/r/gov/dao/v2 + +gnoland start \ No newline at end of file