Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename testing test package to trustedfunc package #282

Merged
merged 1 commit into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nilaway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ This package aims to test any nilaway behavior specific to accomdating tests, su

<nilaway no inference>
*/
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{}
Expand Down
Loading