Skip to content

Commit

Permalink
Makes code tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
ksysoev committed Jun 2, 2024
1 parent 8008940 commit f4ec718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ func TestServer_WithReadinessChan(t *testing.T) {
}

close(server.ready)
_, ok := <-ready
if ok {

if _, ok := <-ready; ok {
t.Error("Expected closed channel")
}
}
Expand Down

0 comments on commit f4ec718

Please sign in to comment.