fix linter errors

#261 was created before the introduction of the linter, therefore it wasn't
approved by it. This commit fixes all the introduced linter violations.
This commit is contained in:
Ondřej Budai 2020-03-03 13:05:45 +01:00 committed by David Rheinsberg
parent cdcb6c2f84
commit 284e9b9e53
2 changed files with 34 additions and 31 deletions

View file

@ -210,7 +210,10 @@ func TestMain(m *testing.M) {
defer server.Close()
go func() {
server.Serve(ln)
err := server.Serve(ln)
if err != nil {
panic(err)
}
}()
// Run the tests