mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Remove the internal GitInfo type and make Page.GitInf() return a pointer
See #5693
This commit is contained in:
@@ -221,7 +221,7 @@ disableLiveReload = true
|
||||
b.AssertFileContent("public/index.html", "1\n2\n3")
|
||||
}
|
||||
|
||||
func TestThatPageGitInfoShouldBeZero(t *testing.T) {
|
||||
func TestThatPageGitInfoShouldBeNil(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
files := `
|
||||
|
Reference in New Issue
Block a user