ref: 2170943ae6e4bcbbcb9cfad244fec5da8c1d6462
parent: 9cd4d359770007b874f16a416c62910e7b082d56
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Apr 6 13:31:13 EDT 2018
Disable failing test on Travis See #4584
--- a/hugolib/page_test.go
+++ b/hugolib/page_test.go
@@ -18,6 +18,7 @@
"fmt"
"html/template"
"os"
+ "runtime"
"path/filepath"
"reflect"
@@ -911,6 +912,9 @@
}
func TestPageWithLastmodFromGitInfo(t *testing.T) {
+ if runtime.GOOS != "windows" && os.Getenv("CI") == "" {
+ t.Skip()
+ }
assrt := require.New(t)
// We need to use the OS fs for this.