hugolib: Only run variable variable overwrite test on Go 1.11

This commit is contained in:
Bjørn Erik Pedersen
2018-08-28 17:57:42 +02:00
parent 0c8a415483
commit 6022f219f1
2 changed files with 8 additions and 1 deletions

View File

@@ -676,3 +676,7 @@ func dumpPages(pages ...*Page) {
func isCI() bool {
return os.Getenv("CI") != ""
}
func isGo111() bool {
return strings.Contains(runtime.Version(), "1.11")
}