From 56a64a68bdb5178c3874ca1d79e35be4cc3ecf24 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 16 Mar 2023 20:47:34 +0100 Subject: [PATCH] pkg/utils: Remove unused error Fallout from b5474bff84179c746e30c07255f8d7de9dcd4b14 https://github.com/containers/toolbox/pull/1267 --- src/pkg/utils/utils_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pkg/utils/utils_test.go b/src/pkg/utils/utils_test.go index 9258d2e..58c7696 100644 --- a/src/pkg/utils/utils_test.go +++ b/src/pkg/utils/utils_test.go @@ -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) }