From 44c8cec274c2f759a6c3c133a8b47748b5ac4d68 Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Tue, 2 Apr 2019 16:24:37 +0200 Subject: [PATCH] cli/command/registry/login_test.go:66:25: unnecessary conversion (unconvert) Signed-off-by: Silvin Lubecki (cherry picked from commit 4be924a0af25bed639753f84667afba4f8ce0cf9) Signed-off-by: Sebastiaan van Stijn --- cli/command/registry/login_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/registry/login_test.go b/cli/command/registry/login_test.go index f31ebd1716..9372a50aec 100644 --- a/cli/command/registry/login_test.go +++ b/cli/command/registry/login_test.go @@ -69,7 +69,7 @@ func TestLoginWithCredStoreCreds(t *testing.T) { } ctx := context.Background() for _, tc := range testCases { - cli := (*test.FakeCli)(test.NewFakeCli(&fakeClient{})) + cli := test.NewFakeCli(&fakeClient{}) errBuf := new(bytes.Buffer) cli.SetErr(errBuf) loginWithCredStoreCreds(ctx, cli, &tc.inputAuthConfig)