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:
parent
cdcb6c2f84
commit
284e9b9e53
2 changed files with 34 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue