mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
headers: restore coverage
This commit is contained in:
@@ -84,6 +84,11 @@ func TestSessionReadError(t *testing.T) {
|
||||
base.HeaderValue{"a", "b"},
|
||||
"value provided multiple times ([a b])",
|
||||
},
|
||||
{
|
||||
"invalid key-value",
|
||||
base.HeaderValue{"A3eqwsafq3rFASqew;test=\"a"},
|
||||
"apexes not closed (test=\"a)",
|
||||
},
|
||||
{
|
||||
"invalid timeout",
|
||||
base.HeaderValue{`A3eqwsafq3rFASqew;timeout=aaa`},
|
||||
|
Reference in New Issue
Block a user