mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-03 14:47:45 +01:00
Keep tests deterministic
This commit is contained in:
parent
ee5c842c7d
commit
0f19df8a81
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue