diff --git a/cli/templateedit_test.go b/cli/templateedit_test.go index 0548877e925f9..f88bb230926a8 100644 --- a/cli/templateedit_test.go +++ b/cli/templateedit_test.go @@ -409,7 +409,7 @@ func TestTemplateEdit(t *testing.T) { clitest.SetupConfig(t, proxyClient, root) ctx := testutil.Context(t, testutil.WaitLong) - err = inv.WithContext(ctx).Run() + err := inv.WithContext(ctx).Run() if c.ok { require.NoError(t, err) } else {