pkg/utils: Remove unused error

Fallout from b5474bff84

https://github.com/containers/toolbox/pull/1267
This commit is contained in:
Debarshi Ray 2023-03-16 20:47:34 +01:00
parent a4cc791f39
commit 56a64a68bd

View file

@ -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)
}