Add breaking tests for "map read and map write in templates"

The fix upstream in Go was reverted, so we apply a temporary patch for this in Hugo.

Updates #7293
This commit is contained in:
Bjørn Erik Pedersen
2021-01-29 17:20:55 +01:00
parent ccb822eb5a
commit b5485aeae7
4 changed files with 41 additions and 61 deletions

View File

@@ -1724,7 +1724,7 @@ var v = "v";
`
func TestEscapeRace(t *testing.T) {
t.Skip("this test currently fails with -race; see issue #39807")
// t.Skip("this test currently fails with -race; see issue #39807")
tmpl := New("")
_, err := tmpl.New("templ.html").Parse(raceText)