base: improve coverage

This commit is contained in:
aler9
2021-05-22 15:50:12 +02:00
parent 19d18f0b3a
commit cd378ad0bf
2 changed files with 5 additions and 5 deletions

View File

@@ -242,11 +242,11 @@ func TestRequestWriteErrors(t *testing.T) {
}, },
{ {
"header", "header",
20, 53,
}, },
{ {
"body", "body",
40, 62,
}, },
} { } {
t.Run(ca.name, func(t *testing.T) { t.Run(ca.name, func(t *testing.T) {

View File

@@ -195,15 +195,15 @@ func TestResponseWriteErrors(t *testing.T) {
}{ }{
{ {
"first line", "first line",
3, 14,
}, },
{ {
"header", "header",
20, 21,
}, },
{ {
"body", "body",
40, 30,
}, },
} { } {
t.Run(ca.name, func(t *testing.T) { t.Run(ca.name, func(t *testing.T) {