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: { caddyfile: `host1:, host2: {
dir abc { dir abc {
def ghi def ghi
jklmnop
} }
}`, }`,
json: `[{"hosts":["host1:","host2:"],"body":{"dir":["abc",{"def":["ghi"],"jklmnop":null}]}}]`, json: `[{"hosts":["host1:","host2:"],"body":{"dir":["abc",{"def":["ghi"]}]}}]`,
}, },
{ // 3 { // 3
caddyfile: `host1:1234, host2:5678 { caddyfile: `host1:1234, host2:5678 {