summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites_build_errors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/hugo_sites_build_errors_test.go')
-rw-r--r--hugolib/hugo_sites_build_errors_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build_errors_test.go b/hugolib/hugo_sites_build_errors_test.go
index 6fe4901a1..993b4e613 100644
--- a/hugolib/hugo_sites_build_errors_test.go
+++ b/hugolib/hugo_sites_build_errors_test.go
@@ -40,7 +40,6 @@ func (t testSiteBuildErrorAsserter) assertErrorMessage(e1, e2 string) {
}
func TestSiteBuildErrors(t *testing.T) {
- t.Parallel()
const (
yamlcontent = "yamlcontent"
@@ -226,7 +225,9 @@ func TestSiteBuildErrors(t *testing.T) {
}
for _, test := range tests {
+ test := test
t.Run(test.name, func(t *testing.T) {
+ t.Parallel()
assert := require.New(t)
errorAsserter := testSiteBuildErrorAsserter{
assert: assert,