diff --git a/code/go/pkg/validator/validator_test.go b/code/go/pkg/validator/validator_test.go index 963029bab..0d7af20e1 100644 --- a/code/go/pkg/validator/validator_test.go +++ b/code/go/pkg/validator/validator_test.go @@ -325,7 +325,7 @@ func TestValidateWarnings(t *testing.T) { t.Run(pkgName, func(t *testing.T) { warnPrefix := fmt.Sprintf("Warning: ") - pkgRootPath := filepath.Join("..", "..", "..", "..", "test", "packages", pkgName) + pkgRootPath := path.Join("..", "..", "..", "..", "test", "packages", pkgName) errs := ValidateFromPath(pkgRootPath) if len(expectedWarnContains) == 0 { require.NoError(t, errs)