mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-02 07:08:22 +03:00
Remove obsolete test
This commit is contained in:
parent
06913ab74f
commit
307c2ffe3c
1 changed files with 1 additions and 8 deletions
|
@ -70,14 +70,7 @@ func TestTLSParseIncompleteParams(t *testing.T) {
|
||||||
|
|
||||||
_, err := TLS(c)
|
_, err := TLS(c)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Errorf("Expected errors, but no error returned")
|
t.Errorf("Expected errors (first check), but no error returned")
|
||||||
}
|
|
||||||
|
|
||||||
c = NewTestController(`tls cert.key`)
|
|
||||||
|
|
||||||
_, err = TLS(c)
|
|
||||||
if err == nil {
|
|
||||||
t.Errorf("Expected errors, but no error returned")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue