From e3fcdb8238f5a90fb7b096653d9b5029e88d3955 Mon Sep 17 00:00:00 2001 From: maks2134 Date: Tue, 17 Mar 2026 12:09:33 +0300 Subject: [PATCH] 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 --- cmd/display/tty_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/display/tty_test.go b/cmd/display/tty_test.go index f6a1a66a9..3902103e1 100644 --- a/cmd/display/tty_test.go +++ b/cmd/display/tty_test.go @@ -429,7 +429,7 @@ func TestDoneDeadlockFix(t *testing.T) { addTask(w, "test-task", "Working", "details", api.Working) ctx, cancel := context.WithCancel(context.Background()) defer cancel() - + w.Start(ctx, "test") done := make(chan bool) go func() {