server: cleanup error

This commit is contained in:
aler9
2021-11-12 17:26:18 +01:00
committed by Alessandro Ros
parent 61674c0ccb
commit 3ead94477f
2 changed files with 2 additions and 2 deletions

View File

@@ -659,7 +659,7 @@ func TestServerErrorInvalidMethod(t *testing.T) {
s := &Server{
Handler: &testServerHandler{
onConnClose: func(ctx *ServerHandlerOnConnCloseCtx) {
require.EqualError(t, ctx.Error, "unhandled request (INVALID rtsp://localhost:8554/)")
require.EqualError(t, ctx.Error, "unhandled request: INVALID rtsp://localhost:8554/")
close(connClosed)
},
},