Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Jan 13, 2025
1 parent 0969e39 commit d33412a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions www/zmq/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ func (ts *testData) resetServer() {
ts.eventCh = nil
}

func (ts *testData) cleanup() func() {
return func() {
ts.server.Close()
ts.resetServer()
}
func (ts *testData) cleanup() {
ts.server.Close()
ts.resetServer()
}

func TestServerWithDefaultConfig(t *testing.T) {
Expand Down

0 comments on commit d33412a

Please sign in to comment.