diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-20T22·13+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-20T22·13+0000 |
commit | 795a97466527a5f02e79e47b7fb316c78ffde667 (patch) | |
tree | 541912f41f01aa8ae5952030df6d3aeb7bd3baa3 /ops/kontemplate/templater/testdata | |
parent | 064f65dec295144dc8d440ebcf63f08eb154169d (diff) |
chore(kontemplate): Prepare kontemplate for depot-merge
This merge will not yet include moving over to buildGo.nix, as support for testing and such is not present in that library yet.
Diffstat (limited to 'ops/kontemplate/templater/testdata')
-rw-r--r-- | ops/kontemplate/templater/testdata/test-default.txt | 1 | ||||
-rw-r--r-- | ops/kontemplate/templater/testdata/test-insertTemplate.txt | 1 | ||||
-rw-r--r-- | ops/kontemplate/templater/testdata/test-template.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/ops/kontemplate/templater/testdata/test-default.txt b/ops/kontemplate/templater/testdata/test-default.txt new file mode 100644 index 000000000000..4f7997bd69d2 --- /dev/null +++ b/ops/kontemplate/templater/testdata/test-default.txt @@ -0,0 +1 @@ +{{ default "defaultValue" "missingVar" }} diff --git a/ops/kontemplate/templater/testdata/test-insertTemplate.txt b/ops/kontemplate/templater/testdata/test-insertTemplate.txt new file mode 100644 index 000000000000..8155e174fe00 --- /dev/null +++ b/ops/kontemplate/templater/testdata/test-insertTemplate.txt @@ -0,0 +1 @@ +Inserting "{{ insertTemplate "test-template.txt" | trim }}". diff --git a/ops/kontemplate/templater/testdata/test-template.txt b/ops/kontemplate/templater/testdata/test-template.txt new file mode 100644 index 000000000000..06f1cfc630c3 --- /dev/null +++ b/ops/kontemplate/templater/testdata/test-template.txt @@ -0,0 +1 @@ +Template for test {{ .testName }} |