0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-27 23:03:37 -05:00

Keep tests deterministic

This commit is contained in:
Matthew Holt 2015-10-27 00:43:24 -06:00
parent ee5c842c7d
commit 0f19df8a81

View file

@ -23,10 +23,9 @@ var tests = []struct {
caddyfile: `host1:, host2: {
dir abc {
def ghi
jklmnop
}
}`,
json: `[{"hosts":["host1:","host2:"],"body":{"dir":["abc",{"def":["ghi"],"jklmnop":null}]}}]`,
json: `[{"hosts":["host1:","host2:"],"body":{"dir":["abc",{"def":["ghi"]}]}}]`,
},
{ // 3
caddyfile: `host1:1234, host2:5678 {