mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
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>
This commit is contained in:
parent
b7d1c62ec7
commit
e3fcdb8238
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue