Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8ceab6

Browse files
committed
fix variable name
1 parent f371f5b commit e8ceab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/jail_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ func TestJailSubcommand(t *testing.T) {
2121
defer cancelFunc()
2222
done := make(chan any)
2323
go func() {
24-
errC := inv.WithContext(ctx).Run()
25-
assert.NoError(t, errC)
24+
err := inv.WithContext(ctx).Run()
25+
assert.NoError(t, err)
2626
close(done)
2727
}()
2828

0 commit comments

Comments
 (0)