mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
server: cleanup error
This commit is contained in:
@@ -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)
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user