1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

Fix server test error check

This commit is contained in:
Chen-I Lim 2021-01-18 12:59:32 -08:00
parent 56eda6bbdf
commit 8b2d993675

View File

@ -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)
}
}()