Skip to content

Commit 2901147

Browse files
authored
test: fix race in templateedit_test.go (#8641)
1 parent b47d076 commit 2901147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/templateedit_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ func TestTemplateEdit(t *testing.T) {
409409
clitest.SetupConfig(t, proxyClient, root)
410410

411411
ctx := testutil.Context(t, testutil.WaitLong)
412-
err = inv.WithContext(ctx).Run()
412+
err := inv.WithContext(ctx).Run()
413413
if c.ok {
414414
require.NoError(t, err)
415415
} else {

0 commit comments

Comments
 (0)