pkg/utils: Remove unused error
Fallout from b5474bff84
https://github.com/containers/toolbox/pull/1267
This commit is contained in:
parent
a4cc791f39
commit
56a64a68bd
1 changed files with 0 additions and 5 deletions
|
@ -80,7 +80,6 @@ func TestParseRelease(t *testing.T) {
|
|||
inputRelease string
|
||||
output string
|
||||
ok bool
|
||||
err error
|
||||
errMsg string
|
||||
}{
|
||||
{
|
||||
|
@ -157,10 +156,6 @@ func TestParseRelease(t *testing.T) {
|
|||
} else {
|
||||
assert.Error(t, err)
|
||||
|
||||
if tc.err != nil {
|
||||
assert.ErrorIs(t, err, tc.err)
|
||||
}
|
||||
|
||||
if tc.errMsg != "" {
|
||||
assert.EqualError(t, err, tc.errMsg)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue