diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-28 17:57:42 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-08-28 18:00:19 +0200 |
commit | 6022f219f1043138d80a821b48b8aab8a0eeeeef (patch) | |
tree | 9b72372900415cd16486315a3577c7aff7e9c88a /hugolib/resource_chain_test.go | |
parent | 0c8a4154838e32a33d34202fd4fa0187aa502190 (diff) |
hugolib: Only run variable variable overwrite test on Go 1.11
Diffstat (limited to 'hugolib/resource_chain_test.go')
-rw-r--r-- | hugolib/resource_chain_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hugolib/resource_chain_test.go b/hugolib/resource_chain_test.go index 9e8991d8d..045c9517a 100644 --- a/hugolib/resource_chain_test.go +++ b/hugolib/resource_chain_test.go @@ -257,7 +257,10 @@ T2: Content: {{ $combinedText.Content }}|{{ $combinedText.RelPermalink }} b.AssertFileContent("public/rocks/hugo.txt", "Hugo Rocks!") }}, - {"execute-as-template", func() bool { return true }, func(b *sitesBuilder) { + {"execute-as-template", func() bool { + // TODO(bep) eventually remove + return isGo111() + }, func(b *sitesBuilder) { b.WithTemplates("home.html", ` {{ $var := "Hugo Page" }} {{ if .IsHome }} |