mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
improve coverage
This commit is contained in:
@@ -138,6 +138,16 @@ func TestHeaderReadErrors(t *testing.T) {
|
||||
[]byte{},
|
||||
"EOF",
|
||||
},
|
||||
{
|
||||
"missing value",
|
||||
[]byte("Testing:"),
|
||||
"EOF",
|
||||
},
|
||||
{
|
||||
"missing eol",
|
||||
[]byte("Testing: val"),
|
||||
"EOF",
|
||||
},
|
||||
{
|
||||
"r without n",
|
||||
[]byte("Testing: val\rTesting: val\r\n"),
|
||||
|
Reference in New Issue
Block a user