aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--caddytest/integration/caddyfile_adapt/acme_server_sign_with_root.caddyfiletest4
-rw-r--r--caddytest/integration/caddyfile_adapt/heredoc.caddyfiletest3
-rw-r--r--caddytest/integration/caddyfile_adapt/map_and_vars_with_raw_types.caddyfiletest15
3 files changed, 12 insertions, 10 deletions
diff --git a/caddytest/integration/caddyfile_adapt/acme_server_sign_with_root.caddyfiletest b/caddytest/integration/caddyfile_adapt/acme_server_sign_with_root.caddyfiletest
index 9880f2821..5b5040107 100644
--- a/caddytest/integration/caddyfile_adapt/acme_server_sign_with_root.caddyfiletest
+++ b/caddytest/integration/caddyfile_adapt/acme_server_sign_with_root.caddyfiletest
@@ -5,15 +5,15 @@
root_cn "Internal Root Cert"
intermediate_cn "Internal Intermediate Cert"
}
- }
+ }
}
-
acme.example.com {
acme_server {
ca internal
sign_with_root
}
}
+
----------
{
"apps": {
diff --git a/caddytest/integration/caddyfile_adapt/heredoc.caddyfiletest b/caddytest/integration/caddyfile_adapt/heredoc.caddyfiletest
index cc1174d6d..f50d2b7f9 100644
--- a/caddytest/integration/caddyfile_adapt/heredoc.caddyfiletest
+++ b/caddytest/integration/caddyfile_adapt/heredoc.caddyfiletest
@@ -1,11 +1,12 @@
example.com {
- respond <<EOF
+ respond <<EOF
<html>
<head><title>Foo</title>
<body>Foo</body>
</html>
EOF 200
}
+
----------
{
"apps": {
diff --git a/caddytest/integration/caddyfile_adapt/map_and_vars_with_raw_types.caddyfiletest b/caddytest/integration/caddyfile_adapt/map_and_vars_with_raw_types.caddyfiletest
index cc7563015..8b872635d 100644
--- a/caddytest/integration/caddyfile_adapt/map_and_vars_with_raw_types.caddyfiletest
+++ b/caddytest/integration/caddyfile_adapt/map_and_vars_with_raw_types.caddyfiletest
@@ -1,23 +1,23 @@
example.com
-map {host} {my_placeholder} {magic_number} {
+map {host} {my_placeholder} {magic_number} {
# Should output boolean "true" and an integer
- example.com true 3
+ example.com true 3
# Should output a string and null
- foo.example.com "string value"
+ foo.example.com "string value"
# Should output two strings (quoted int)
- (.*)\.example.com "${1} subdomain" "5"
+ (.*)\.example.com "${1} subdomain" "5"
# Should output null and a string (quoted int)
- ~.*\.net$ - `7`
+ ~.*\.net$ - `7`
# Should output a float and the string "false"
- ~.*\.xyz$ 123.456 "false"
+ ~.*\.xyz$ 123.456 "false"
# Should output two strings, second being escaped quote
- default "unknown domain" \"""
+ default "unknown domain" \"""
}
vars foo bar
@@ -27,6 +27,7 @@ vars {
ghi 2.3
jkl "mn op"
}
+
----------
{
"apps": {