Skip to content

Commit

Permalink
tpl/transform: Don't run ToMath tests in parallel
Browse files Browse the repository at this point in the history
Closes #12765
  • Loading branch information
bep committed Aug 14, 2024
1 parent 5220d37 commit 8323526
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tpl/transform/transform_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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']
Expand All @@ -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']
Expand All @@ -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']
Expand All @@ -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']
Expand Down Expand Up @@ -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']
Expand Down

0 comments on commit 8323526

Please sign in to comment.