diff --git a/caddy/caddyfile/json_test.go b/caddy/caddyfile/json_test.go index 2d94d6040..11e1b1f42 100644 --- a/caddy/caddyfile/json_test.go +++ b/caddy/caddyfile/json_test.go @@ -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 {