Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fntlnz committed Mar 27, 2023
1 parent ac1075b commit 44d58c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/packagestracker/packagestracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func testStreams(outBuf io.Writer) *iostreams.IOStreams {
Out: outBuf,
},
}

return s
}

Expand Down Expand Up @@ -95,6 +96,7 @@ func TestTrackPackages(t *testing.T) {
if depName == "foo" {
return nil, errors.New("error retrieving package [email protected]")
}

return &listen.Response{
{
Name: "bar",
Expand Down Expand Up @@ -126,7 +128,6 @@ func TestTrackPackages(t *testing.T) {
got, err := TrackPackages(ctx, tt.deps, tt.packageRetrievalFunc)
require.ErrorIs(t, err, nil)
require.Equal(t, tt.want, got)

})
}
}

0 comments on commit 44d58c0

Please sign in to comment.