aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/fork_go_templates
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-01-29 17:20:55 +0100
committerBjørn Erik Pedersen <[email protected]>2021-02-18 14:11:48 +0100
commitb5485aeae7e1f73f18835fbf0b8eedc305d450d0 (patch)
tree68922ad03ba5855f7f8e9bfa338c7067444ca891 /scripts/fork_go_templates
parentccb822eb5afad210432eb46ec3727e3536a87f58 (diff)
downloadhugo-b5485aeae7e1f73f18835fbf0b8eedc305d450d0.tar.gz
hugo-b5485aeae7e1f73f18835fbf0b8eedc305d450d0.zip
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/fork_go_templates')
-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")`,
)
)