diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2021-01-19 14:21:11 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2021-01-19 14:21:11 -0700 |
commit | 160d19999982c4facd32c4bddced5a7dc91e8a40 (patch) | |
tree | 41ce7b2f8ab1672f7685a9ac29565a66cf0a7fc0 /caddytest/integration/caddyfile_adapt/header.txt | |
parent | d68cff8eb6211be10fc79d3e8d469562420b78cd (diff) |
caddytest: Update Caddyfile tests for formatting, HTTP-only blocks
Previous commit improved the Caddyfile adapter so it doesn't unnecessarily add names to "skip" in "auto_https" when the server is already HTTP-only.
This commit updates the tests to reflect that change, while also fixing the Caddyfile formatting in many of the tests.
We also print the line number of the divergence between input and formatted version in Caddyfile adapt warnings - very useful for finding initial formatting problems.
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/header.txt')
-rw-r--r-- | caddytest/integration/caddyfile_adapt/header.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caddytest/integration/caddyfile_adapt/header.txt b/caddytest/integration/caddyfile_adapt/header.txt index 19a5b41..223839e 100644 --- a/caddytest/integration/caddyfile_adapt/header.txt +++ b/caddytest/integration/caddyfile_adapt/header.txt @@ -4,7 +4,7 @@ header ?John "von Neumann" header -Wolfram header { - Grace: "Hopper" # some users habitually suffix field names with a colon + Grace: "Hopper" # some users habitually suffix field names with a colon +Ray "Solomonoff" ?Tim "Berners-Lee" defer |