aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-08-14 15:26:22 +0200
committerBjørn Erik Pedersen <[email protected]>2024-08-14 16:58:49 +0200
commit83235262d06a060bd22c168b3413903667b8aeb6 (patch)
tree9d48fb46a34b0e0ac4125850cc23be0bfd2ebbf7 /tpl
parent5220d371ea49299e0b1a539fe3ead8d406d74a60 (diff)
downloadhugo-83235262d06a060bd22c168b3413903667b8aeb6.tar.gz
hugo-83235262d06a060bd22c168b3413903667b8aeb6.zip
tpl/transform: Don't run ToMath tests in parallel
Closes #12765
Diffstat (limited to 'tpl')
-rw-r--r--tpl/transform/transform_integration_test.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/tpl/transform/transform_integration_test.go b/tpl/transform/transform_integration_test.go
index f7f3f8668..da8290e17 100644
--- a/tpl/transform/transform_integration_test.go
+++ b/tpl/transform/transform_integration_test.go
@@ -137,8 +137,6 @@ Scar,"a "dead cat",11
}
func TestToMath(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
@@ -154,8 +152,6 @@ disableKinds = ['page','rss','section','sitemap','taxonomy','term']
func TestToMathError(t *testing.T) {
t.Run("Default", func(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
@@ -169,8 +165,6 @@ disableKinds = ['page','rss','section','sitemap','taxonomy','term']
})
t.Run("Disable ThrowOnError", func(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
@@ -185,8 +179,6 @@ disableKinds = ['page','rss','section','sitemap','taxonomy','term']
})
t.Run("Handle in template", func(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']
@@ -207,8 +199,6 @@ disableKinds = ['page','rss','section','sitemap','taxonomy','term']
}
func TestToMathBigAndManyExpressions(t *testing.T) {
- t.Parallel()
-
filesTemplate := `
-- hugo.toml --
disableKinds = ['rss','section','sitemap','taxonomy','term']
@@ -251,13 +241,9 @@ $$%s$$
<span class="katex"><math
`)
})
-
- //
}
func TestToMathMacros(t *testing.T) {
- t.Parallel()
-
files := `
-- hugo.toml --
disableKinds = ['page','rss','section','sitemap','taxonomy','term']