mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-22 15:49:45 +08:00
drop unused md variable
This commit is contained in:
parent
bb6764fd22
commit
61cf8b79bc
|
@ -201,7 +201,7 @@ func TestParsers(t *testing.T) {
|
|||
}
|
||||
|
||||
// invalid metadata
|
||||
if md, err = v.parser.Parse([]byte(v.testData[3])); err == nil {
|
||||
if _, err = v.parser.Parse([]byte(v.testData[3])); err == nil {
|
||||
t.Fatalf("Expected error for invalid metadata for %v", v.name)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user