mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-27 23:03:37 -05:00
Another test case for parser
This commit is contained in:
parent
b10d846019
commit
3420bd6e06
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue