mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
9cd4d35977
commit
2170943ae6
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"html/template"
|
"html/template"
|
||||||
"os"
|
"os"
|
||||||
|
"runtime"
|
||||||
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
@ -911,6 +912,9 @@ func TestPageWithDate(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestPageWithLastmodFromGitInfo(t *testing.T) {
|
func TestPageWithLastmodFromGitInfo(t *testing.T) {
|
||||||
|
if runtime.GOOS != "windows" && os.Getenv("CI") == "" {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
assrt := require.New(t)
|
assrt := require.New(t)
|
||||||
|
|
||||||
// We need to use the OS fs for this.
|
// We need to use the OS fs for this.
|
||||||
|
|
Loading…
Reference in a new issue