From d933bb26668583bf49d9ae87752fdb139a57e21c Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sat, 19 Mar 2016 14:46:32 +0000 Subject: Make whole heap of tests better --- core/caddyfile/json_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/caddyfile/json_test.go') diff --git a/core/caddyfile/json_test.go b/core/caddyfile/json_test.go index 2e44ae2a2..c3296a98f 100644 --- a/core/caddyfile/json_test.go +++ b/core/caddyfile/json_test.go @@ -61,9 +61,9 @@ baz" json: `[{"hosts":["host"],"body":[["dir","123","4.56","true"]]}]`, // NOTE: I guess we assume numbers and booleans should be encoded as strings...? }, { // 8 - caddyfile: `http://host, https://host { + caddyfile: `host, host { }`, - json: `[{"hosts":["http://host","https://host"],"body":[]}]`, // hosts in JSON are always host:port format (if port is specified), for consistency + json: `[{"hosts":["host","host"],"body":[]}]`, // hosts in JSON are always host:port format (if port is specified), for consistency }, { // 9 caddyfile: `host { -- cgit v1.2.3