diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-08-28 17:57:42 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-08-28 18:00:19 +0200 |
commit | 6022f219f1043138d80a821b48b8aab8a0eeeeef (patch) | |
tree | 9b72372900415cd16486315a3577c7aff7e9c88a /hugolib/testhelpers_test.go | |
parent | 0c8a4154838e32a33d34202fd4fa0187aa502190 (diff) | |
download | hugo-6022f219f1043138d80a821b48b8aab8a0eeeeef.tar.gz hugo-6022f219f1043138d80a821b48b8aab8a0eeeeef.zip |
hugolib: Only run variable variable overwrite test on Go 1.11
Diffstat (limited to 'hugolib/testhelpers_test.go')
-rw-r--r-- | hugolib/testhelpers_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hugolib/testhelpers_test.go b/hugolib/testhelpers_test.go index ec84449ec..27edf3fdd 100644 --- a/hugolib/testhelpers_test.go +++ b/hugolib/testhelpers_test.go @@ -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") +} |