Make it fatal when the server cannot start

This commit is contained in:
Miek Gieben 2013-10-19 10:05:12 +01:00
parent 118cb99644
commit 610cabc412
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func TestServing(t *testing.T) {
err := ListenAndServe(":8053", "udp", nil)
if err != nil {
t.Log("ListenAndServe: ", err.Error())
t.Fail()
t.Fatal()
}
}()
time.Sleep(4e8)