Make sure to close fake server connection in tests

This commit is contained in:
Dan Sosedoff 2015-10-19 21:09:22 -05:00
parent 8f7fdcbdca
commit 6749b2ace8

View File

@ -31,6 +31,7 @@ func Test_portAvailable(t *testing.T) {
if err == nil {
conn.Close()
}
serv.Close()
}
}()