From 0f19df8a81e01bb53bffa16833bf816ea3a4f14d Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 27 Oct 2015 00:43:24 -0600 Subject: [PATCH] Keep tests deterministic --- caddy/caddyfile/json_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {