improve coverage

This commit is contained in:
aler9
2021-05-22 17:18:09 +02:00
parent cd378ad0bf
commit 53e8f32bd0
11 changed files with 77 additions and 25 deletions

View File

@@ -213,6 +213,11 @@ func TestAutenticatehReadError(t *testing.T) {
base.HeaderValue{"Basic"},
"unable to split between method and keys (Basic)",
},
{
"invalid keys",
base.HeaderValue{`Basic key1="k`},
"apexes not closed (key1=\"k)",
},
{
"invalid method",
base.HeaderValue{"Testing key1=val1"},