Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-01-29 19:20:55 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-02-18 16:11:48 +0300
commitb5485aeae7e1f73f18835fbf0b8eedc305d450d0 (patch)
tree68922ad03ba5855f7f8e9bfa338c7067444ca891 /tpl
parentccb822eb5afad210432eb46ec3727e3536a87f58 (diff)
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
Diffstat (limited to 'tpl')
-rw-r--r--tpl/internal/go_templates/htmltemplate/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/internal/go_templates/htmltemplate/exec_test.go b/tpl/internal/go_templates/htmltemplate/exec_test.go
index cfca536b4..3e8b022d7 100644
--- a/tpl/internal/go_templates/htmltemplate/exec_test.go
+++ b/tpl/internal/go_templates/htmltemplate/exec_test.go
@@ -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)