Skip to content

Commit

Permalink
chore: better test descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Currah <[email protected]>
  • Loading branch information
ryancurrah committed Jan 23, 2023
1 parent 5295705 commit 1010c41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processor_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ func Test_packageInModule(t *testing.T) { //nolint:funlen
wantPkgIsInMod bool
}{
{
name: "should return bar package path",
name: "package with path bar",
args: args{
pkg: "github.com/acme/foo/bar",
mod: "github.com/acme/foo",
},
wantPkgIsInMod: true,
},
{
name: "should return bar/baz package path",
name: "package with path bar/baz",
args: args{
pkg: "github.com/acme/foo/bar/baz",
mod: "github.com/acme/foo",
Expand Down

0 comments on commit 1010c41

Please sign in to comment.