replace ListenTCP with Listen

This commit is contained in:
aler9
2020-12-13 15:13:43 +01:00
parent 42877b4d52
commit c11f056530
3 changed files with 7 additions and 12 deletions

View File

@@ -214,7 +214,7 @@ func TestServerPublishReadTCP(t *testing.T) {
require.Equal(t, 0, cnt2.wait())
}
func TestServerTeardown(t *testing.T) {
func TestServerTeardownResponse(t *testing.T) {
ts, err := newTestServ()
require.NoError(t, err)
defer ts.close()