server: normalize errors

This commit is contained in:
aler9
2021-06-18 00:08:04 +02:00
parent db28e87ecb
commit 7238502094
4 changed files with 17 additions and 17 deletions

View File

@@ -904,7 +904,7 @@ func TestServerPublish(t *testing.T) {
}
}
func TestServerPublishErrorWrongProtocol(t *testing.T) {
func TestServerPublishErrorInvalidProtocol(t *testing.T) {
s := &Server{
Handler: &testServerHandler{
onAnnounce: func(ctx *ServerHandlerOnAnnounceCtx) (*base.Response, error) {