]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
tpl/transform: Don't run ToMath tests in parallel
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 14 Aug 2024 13:26:22 +0000 (15:26 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 14 Aug 2024 14:58:49 +0000 (16:58 +0200)
Closes #12765

tpl/transform/transform_integration_test.go

index f7f3f8668e338d0cce22577ecdc3f06fe23ae362..da8290e1777b780ee84a20204bc98b4027390ada 100644 (file)
@@ -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']