diff options
Diffstat (limited to 'libpod/image/pull_test.go')
-rw-r--r-- | libpod/image/pull_test.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libpod/image/pull_test.go b/libpod/image/pull_test.go index 9305527d4..1552d568b 100644 --- a/libpod/image/pull_test.go +++ b/libpod/image/pull_test.go @@ -72,10 +72,9 @@ func TestGetPullRefName(t *testing.T) { srcRef, err := alltransports.ParseImageName(c.srcName) require.NoError(t, err, c.srcName) - testName := fmt.Sprintf("%#v %#v", c.srcName, c.destName) - res, err := getPullRefName(srcRef, c.destName) - require.NoError(t, err, testName) - assert.Equal(t, &pullRefName{image: c.expectedImage, srcRef: srcRef, dstName: c.expectedDstName}, res, testName) + res := getPullRefName(srcRef, c.destName) + assert.Equal(t, &pullRefName{image: c.expectedImage, srcRef: srcRef, dstName: c.expectedDstName}, res, + fmt.Sprintf("%#v %#v", c.srcName, c.destName)) } } |