diff --git a/protocol/rtsp/rtsp_test.go b/protocol/rtsp/rtsp_test.go index 848ebb00..1aeb459a 100644 --- a/protocol/rtsp/rtsp_test.go +++ b/protocol/rtsp/rtsp_test.go @@ -293,7 +293,7 @@ func TestReadResponse(t *testing.T) { StatusCode: 200, ContentLength: 0, Header: map[string][]string{ - "CSeq": []string{"2"}, + "Cseq": []string{"2"}, "Date": []string{"Wed, Jan 21 1970 02:37:14 GMT"}, "Public": []string{"OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, GET_PARAMETER, SET_PARAMETER"}, }, @@ -328,10 +328,6 @@ func respEqual(got, want Response) bool { } for k, v := range got.Header { - if k == "Cseq" { - continue - } - if len(v) != len(want.Header[k]) { return false }