diff --git a/pkg/moq/moq_test.go b/pkg/moq/moq_test.go index ed159b7..fae64be 100644 --- a/pkg/moq/moq_test.go +++ b/pkg/moq/moq_test.go @@ -220,7 +220,7 @@ func TestDotImports(t *testing.T) { t.Errorf("mock error: %s", err) } s := buf.String() - if !strings.Contains(s, `"github.com/matryer/moq/pkg/moq/testpackages/dotimport"`) { + if !strings.Contains(s, `/moq/pkg/moq/testpackages/dotimport"`) { t.Error("contains invalid dot import") } }