Skip to content

Commit e3fcdb8

Browse files
maks2134ndeloof
authored andcommitted
Fix linting issues in tty_test.go
- Replace context.Background() with context.WithCancel() in test - Fix formatting issues (remove extra empty line) Signed-off-by: maks2134 <maks210306@yandex.by>
1 parent b7d1c62 commit e3fcdb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/display/tty_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ func TestDoneDeadlockFix(t *testing.T) {
429429
addTask(w, "test-task", "Working", "details", api.Working)
430430
ctx, cancel := context.WithCancel(context.Background())
431431
defer cancel()
432-
432+
433433
w.Start(ctx, "test")
434434
done := make(chan bool)
435435
go func() {

0 commit comments

Comments
 (0)