From 2901147ae326b59588c38c1fa4310d2fb738ca2a Mon Sep 17 00:00:00 2001 From: Colin Adler Date: Thu, 20 Jul 2023 22:26:55 -0500 Subject: [PATCH] test: fix race in `templateedit_test.go` (#8641) --- 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 0548877e92..f88bb23092 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 {