all: Replace _build with build in tests

_build is deprecated and now shows up as warning.
This commit is contained in:
Bjørn Erik Pedersen
2025-06-02 12:44:06 +02:00
parent 32af02cd3e
commit 32eb1a8ad4
5 changed files with 13 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ Summary: {{ .Summary }}|
)
}
func TestFrontMatterParamsKindPath(t *testing.T) {
func TestFrontMatterParamsPath(t *testing.T) {
t.Parallel()
files := `
@@ -72,10 +72,9 @@ date: 2019-08-07
path: "/a/b/c"
slug: "s1"
---
-- content/mysection.md --
-- content/mysection/_index.md --
---
title: "My Section"
kind: "section"
date: 2022-08-07
path: "/a/b"
---