From b5485aeae7e1f73f18835fbf0b8eedc305d450d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 29 Jan 2021 17:20:55 +0100 Subject: 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 --- scripts/fork_go_templates/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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")`, ) ) -- cgit v1.2.3