mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
base: improve coverage
This commit is contained in:
@@ -242,11 +242,11 @@ func TestRequestWriteErrors(t *testing.T) {
|
||||
},
|
||||
{
|
||||
"header",
|
||||
20,
|
||||
53,
|
||||
},
|
||||
{
|
||||
"body",
|
||||
40,
|
||||
62,
|
||||
},
|
||||
} {
|
||||
t.Run(ca.name, func(t *testing.T) {
|
||||
|
@@ -195,15 +195,15 @@ func TestResponseWriteErrors(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
"first line",
|
||||
3,
|
||||
14,
|
||||
},
|
||||
{
|
||||
"header",
|
||||
20,
|
||||
21,
|
||||
},
|
||||
{
|
||||
"body",
|
||||
40,
|
||||
30,
|
||||
},
|
||||
} {
|
||||
t.Run(ca.name, func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user