summaryrefslogtreecommitdiffstats
path: root/pkg/utils/template_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/utils/template_test.go')
-rw-r--r--pkg/utils/template_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/utils/template_test.go b/pkg/utils/template_test.go
index f294d115d..236c23278 100644
--- a/pkg/utils/template_test.go
+++ b/pkg/utils/template_test.go
@@ -53,6 +53,13 @@ func TestResolvePlaceholderString(t *testing.T) {
},
"{{}} {{ this }} { should not throw}} an {{{{}}}} error",
},
+ {
+ "{{a}}",
+ map[string]string{
+ "a": "X{{.a}}X",
+ },
+ "X{{.a}}X",
+ },
}
for _, s := range scenarios {