Fix server test error check
This commit is contained in:
parent
56eda6bbdf
commit
8b2d993675
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func SetupTestHelper() *TestHelper {
|
|||
|
||||
func (th *TestHelper) InitBasic() *TestHelper {
|
||||
go func() {
|
||||
if err := th.Server.Start(); err != http.ErrServerClosed {
|
||||
if err := th.Server.Start(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Reference in a new issue