summaryrefslogtreecommitdiffstats
path: root/tpl/template_ast_transformers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/template_ast_transformers_test.go')
-rw-r--r--tpl/template_ast_transformers_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/template_ast_transformers_test.go b/tpl/template_ast_transformers_test.go
index 8ffb1cab1..43d78284c 100644
--- a/tpl/template_ast_transformers_test.go
+++ b/tpl/template_ast_transformers_test.go
@@ -113,6 +113,7 @@ F3: {{ Echo (printf "themes/%s-theme" .Site.Params.LOWER) }}
)
func TestParamsKeysToLower(t *testing.T) {
+ t.Parallel()
require.Error(t, applyTemplateTransformers(nil))
@@ -190,6 +191,7 @@ func BenchmarkTemplateParamsKeysToLower(b *testing.B) {
}
func TestParamsKeysToLowerVars(t *testing.T) {
+ t.Parallel()
var (
ctx = map[string]interface{}{
"Params": map[string]interface{}{
@@ -227,6 +229,7 @@ Blue: {{ $__amber_1.Blue}}
}
func TestParamsKeysToLowerInBlockTemplate(t *testing.T) {
+ t.Parallel()
var (
ctx = map[string]interface{}{