Fix forbidigo linting error

- Replace context.Background() with t.Context() in TestDoneDeadlockFix
- Ensures .idea files are not included in commit

Signed-off-by: maks2134 <[email protected]>
This commit is contained in:
maks2134
2026-03-18 16:23:34 +01:00
committed by Nicolas De loof
parent e3fcdb8238
commit c7e8896360
+1 -1
View File
@@ -427,7 +427,7 @@ func TestLenAnsi(t *testing.T) {
func TestDoneDeadlockFix(t *testing.T) {
w, _ := newTestWriter()
addTask(w, "test-task", "Working", "details", api.Working)
ctx, cancel := context.WithCancel(context.Background())
ctx, cancel := context.WithCancel(t.Context())
defer cancel()
w.Start(ctx, "test")