mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
headers: restore coverage
This commit is contained in:
@@ -203,6 +203,11 @@ func TestRTPInfoReadError(t *testing.T) {
|
||||
base.HeaderValue{"a", "b"},
|
||||
"value provided multiple times ([a b])",
|
||||
},
|
||||
{
|
||||
"invalid key-value",
|
||||
base.HeaderValue{"test=\"a"},
|
||||
"apexes not closed (test=\"a)",
|
||||
},
|
||||
{
|
||||
"invalid sequence",
|
||||
base.HeaderValue{`url=rtsp://127.0.0.1/test.mkv/track1;seq=aa;rtptime=717574556`},
|
||||
|
Reference in New Issue
Block a user