diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-20 09:30:05 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-11-20 09:30:05 +0100 |
commit | b298c06e0551e3eba10b39ae5668b7a6a36a08a7 (patch) | |
tree | 94c66c09e0477ba30be9963af9d13b6c29aa39bb /tpl | |
parent | 55e290af41ad1c92af13679d4a84d64985d41456 (diff) |
deps: Update to Chroma v0.8.2
Closes #7970
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl | 2 | ||||
-rw-r--r-- | tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl | 2 | ||||
-rw-r--r-- | tpl/internal/go_templates/htmltemplate/testdata/fs.zip | bin | 0 -> 406 bytes | |||
-rw-r--r-- | tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl | 3 | ||||
-rw-r--r-- | tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl | 3 |
5 files changed, 10 insertions, 0 deletions
diff --git a/tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl b/tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl new file mode 100644 index 000000000..febf9d9f8 --- /dev/null +++ b/tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl @@ -0,0 +1,2 @@ +{{define "x"}}TEXT{{end}} +{{define "dotV"}}{{.V}}{{end}} diff --git a/tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl b/tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl new file mode 100644 index 000000000..39bf6fb9e --- /dev/null +++ b/tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl @@ -0,0 +1,2 @@ +{{define "dot"}}{{.}}{{end}} +{{define "nested"}}{{template "dot" .}}{{end}} diff --git a/tpl/internal/go_templates/htmltemplate/testdata/fs.zip b/tpl/internal/go_templates/htmltemplate/testdata/fs.zip Binary files differnew file mode 100644 index 000000000..8581313ae --- /dev/null +++ b/tpl/internal/go_templates/htmltemplate/testdata/fs.zip diff --git a/tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl b/tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl new file mode 100644 index 000000000..b72b3a340 --- /dev/null +++ b/tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl @@ -0,0 +1,3 @@ +template1 +{{define "x"}}x{{end}} +{{template "y"}} diff --git a/tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl b/tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl new file mode 100644 index 000000000..16beba6e7 --- /dev/null +++ b/tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl @@ -0,0 +1,3 @@ +template2 +{{define "y"}}y{{end}} +{{template "x"}} |