diff options
author | 2016-03-19 14:46:32 +0000 | |
---|---|---|
committer | 2016-03-19 14:46:32 +0000 | |
commit | d933bb26668583bf49d9ae87752fdb139a57e21c (patch) | |
tree | 19dbc41bab6d4d7d7e8da2d361f27085febe3b13 /core/caddyfile/json_test.go | |
parent | 01d5804c1339a62112cb27d5f2238acb7154a734 (diff) | |
download | coredns-d933bb26668583bf49d9ae87752fdb139a57e21c.tar.gz coredns-d933bb26668583bf49d9ae87752fdb139a57e21c.tar.zst coredns-d933bb26668583bf49d9ae87752fdb139a57e21c.zip |
Make whole heap of tests better
Diffstat (limited to 'core/caddyfile/json_test.go')
-rw-r--r-- | core/caddyfile/json_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |