Remove the internal GitInfo type and make Page.GitInf() return a pointer

See #5693
This commit is contained in:
Bjørn Erik Pedersen
2025-07-07 13:03:57 +02:00
parent 61e6c730dd
commit 90d397b142
10 changed files with 16 additions and 62 deletions

View File

@@ -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 := `