From 054ae046c79ecd75af66afef294fcd765f46786d Mon Sep 17 00:00:00 2001 From: Colin Adler Date: Fri, 21 Jul 2023 03:19:34 +0000 Subject: [PATCH] test: fix race in `templateedit_test.go` --- cli/templateedit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {