summaryrefslogtreecommitdiff
path: root/caddyconfig/caddyfile/testdata
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2020-06-01 12:43:06 -0400
committerGitHub <noreply@github.com>2020-06-01 10:43:06 -0600
commitfdf2a77feb53cb9dd6de772f811e96a5f6b2d2c4 (patch)
tree9dc596a40de9c076519eed900c1791aabe65f52b /caddyconfig/caddyfile/testdata
parenta496308f6eb57f8dd2e1598bfb624a3e567aa4e1 (diff)
caddyfile: Add args on imports (#3423)
* caddyfile: Add support for args on imports * caddyfile: Add more import args tests
Diffstat (limited to 'caddyconfig/caddyfile/testdata')
-rw-r--r--caddyconfig/caddyfile/testdata/import_args0.txt1
-rw-r--r--caddyconfig/caddyfile/testdata/import_args1.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/caddyconfig/caddyfile/testdata/import_args0.txt b/caddyconfig/caddyfile/testdata/import_args0.txt
new file mode 100644
index 0000000..af946fe
--- /dev/null
+++ b/caddyconfig/caddyfile/testdata/import_args0.txt
@@ -0,0 +1 @@
+{args.0} \ No newline at end of file
diff --git a/caddyconfig/caddyfile/testdata/import_args1.txt b/caddyconfig/caddyfile/testdata/import_args1.txt
new file mode 100644
index 0000000..519a92d
--- /dev/null
+++ b/caddyconfig/caddyfile/testdata/import_args1.txt
@@ -0,0 +1 @@
+{args.0} {args.1} \ No newline at end of file