Adjust depreceated syntax in tests

This commit is contained in:
Bjørn Erik Pedersen
2026-03-24 11:07:01 +01:00
parent bd071d78a5
commit 0c013c2326
+4 -4
View File
@@ -28,7 +28,7 @@ func BenchmarkCascadeTarget(b *testing.B) {
files.WriteString(`
-- content/_index.md --
background = 'yosemite.jpg'
[cascade._target]
[cascade.target]
kind = '{section,term}'
-- content/posts/_index.md --
-- content/posts/funny/_index.md --
@@ -69,12 +69,12 @@ tag = "tags"
[[cascade]]
[cascade._build]
[cascade.build]
render = "never"
list = "never"
publishResources = false
[cascade._target]
[cascade.target]
path = '/hidden/**'
-- content/p1.md --
---
@@ -156,7 +156,7 @@ func TestCascadeIssue12172(t *testing.T) {
disableKinds = ['rss','sitemap','taxonomy','term']
[[cascade]]
headless = true
[cascade._target]
[cascade.target]
path = '/s1**'
-- content/s1/p1.md --
---