diff --git a/nilaway_test.go b/nilaway_test.go index 33522441..7b5c7e5c 100644 --- a/nilaway_test.go +++ b/nilaway_test.go @@ -39,7 +39,7 @@ func TestNilAway(t *testing.T) { }{ {name: "Inference", patterns: []string{"go.uber.org/inference"}}, {name: "Contracts", patterns: []string{"go.uber.org/contracts", "go.uber.org/contracts/namedtypes", "go.uber.org/contracts/inference"}}, - {name: "Testing", patterns: []string{"go.uber.org/testing"}}, + {name: "TrustedFunc", patterns: []string{"go.uber.org/trustedfunc"}}, {name: "ErrorReturn", patterns: []string{"go.uber.org/errorreturn", "go.uber.org/errorreturn/inference"}}, {name: "Maps", patterns: []string{"go.uber.org/maps"}}, {name: "Slices", patterns: []string{"go.uber.org/slices", "go.uber.org/slices/inference"}}, diff --git a/testdata/src/go.uber.org/testing/github.com/stretchr/testify/assert/assert.go b/testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/assert/assert.go similarity index 100% rename from testdata/src/go.uber.org/testing/github.com/stretchr/testify/assert/assert.go rename to testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/assert/assert.go diff --git a/testdata/src/go.uber.org/testing/github.com/stretchr/testify/require/require.go b/testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/require/require.go similarity index 100% rename from testdata/src/go.uber.org/testing/github.com/stretchr/testify/require/require.go rename to testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/require/require.go diff --git a/testdata/src/go.uber.org/testing/github.com/stretchr/testify/suite/suite.go b/testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/suite/suite.go similarity index 89% rename from testdata/src/go.uber.org/testing/github.com/stretchr/testify/suite/suite.go rename to testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/suite/suite.go index 86613da4..82a93b03 100644 --- a/testdata/src/go.uber.org/testing/github.com/stretchr/testify/suite/suite.go +++ b/testdata/src/go.uber.org/trustedfunc/github.com/stretchr/testify/suite/suite.go @@ -16,8 +16,8 @@ package suite import ( - "go.uber.org/testing/github.com/stretchr/testify/assert" - "go.uber.org/testing/github.com/stretchr/testify/require" + "go.uber.org/trustedfunc/github.com/stretchr/testify/assert" + "go.uber.org/trustedfunc/github.com/stretchr/testify/require" ) type any interface{} diff --git a/testdata/src/go.uber.org/testing/testing/testing.go b/testdata/src/go.uber.org/trustedfunc/testing/testing.go similarity index 100% rename from testdata/src/go.uber.org/testing/testing/testing.go rename to testdata/src/go.uber.org/trustedfunc/testing/testing.go diff --git a/testdata/src/go.uber.org/testing/trustedfuncs.go b/testdata/src/go.uber.org/trustedfunc/trustedfuncs.go similarity index 98% rename from testdata/src/go.uber.org/testing/trustedfuncs.go rename to testdata/src/go.uber.org/trustedfunc/trustedfuncs.go index b82c82e4..c8068bd9 100644 --- a/testdata/src/go.uber.org/testing/trustedfuncs.go +++ b/testdata/src/go.uber.org/trustedfunc/trustedfuncs.go @@ -17,16 +17,16 @@ This package aims to test any nilaway behavior specific to accomdating tests, su */ -package testing +package trustedfunc import ( "errors" "os/exec" - "go.uber.org/testing/github.com/stretchr/testify/assert" - "go.uber.org/testing/github.com/stretchr/testify/require" - "go.uber.org/testing/github.com/stretchr/testify/suite" - "go.uber.org/testing/testing" + "go.uber.org/trustedfunc/github.com/stretchr/testify/assert" + "go.uber.org/trustedfunc/github.com/stretchr/testify/require" + "go.uber.org/trustedfunc/github.com/stretchr/testify/suite" + "go.uber.org/trustedfunc/testing" ) type any interface{}