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
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 /scripts
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 'scripts')
-rw-r--r--scripts/fork_go_templates/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/fork_go_templates/main.go b/scripts/fork_go_templates/main.go
index 7aab23c35..0b76020d0 100644
--- a/scripts/fork_go_templates/main.go
+++ b/scripts/fork_go_templates/main.go
@@ -75,6 +75,7 @@ var (
"\"text/template\"\n", "template \"github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate\"\n",
`"html/template"`, `htmltemplate "html/template"`,
`"fmt"`, `htmltemplate "html/template"`,
+ `t.Skip("this test currently fails with -race; see issue #39807")`, `// t.Skip("this test currently fails with -race; see issue #39807")`,
)
)