mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Another test case for parser
This commit is contained in:
parent
b10d846019
commit
3420bd6e06
@ -288,6 +288,8 @@ func TestParseAll(t *testing.T) {
|
|||||||
{"host2", "http"},
|
{"host2", "http"},
|
||||||
}},
|
}},
|
||||||
|
|
||||||
|
{`localhost:1234, http://host2,`, true, []address{}},
|
||||||
|
|
||||||
{`http://host1.com, http://host2.com {
|
{`http://host1.com, http://host2.com {
|
||||||
}
|
}
|
||||||
https://host3.com, https://host4.com {
|
https://host3.com, https://host4.com {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user