Skip to content

Commit 0c013c2

Browse files
committed
Adjust depreceated syntax in tests
1 parent bd071d7 commit 0c013c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hugolib/cascade_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func BenchmarkCascadeTarget(b *testing.B) {
2828
files.WriteString(`
2929
-- content/_index.md --
3030
background = 'yosemite.jpg'
31-
[cascade._target]
31+
[cascade.target]
3232
kind = '{section,term}'
3333
-- content/posts/_index.md --
3434
-- content/posts/funny/_index.md --
@@ -69,12 +69,12 @@ tag = "tags"
6969
7070
[[cascade]]
7171
72-
[cascade._build]
72+
[cascade.build]
7373
render = "never"
7474
list = "never"
7575
publishResources = false
7676
77-
[cascade._target]
77+
[cascade.target]
7878
path = '/hidden/**'
7979
-- content/p1.md --
8080
---
@@ -156,7 +156,7 @@ func TestCascadeIssue12172(t *testing.T) {
156156
disableKinds = ['rss','sitemap','taxonomy','term']
157157
[[cascade]]
158158
headless = true
159-
[cascade._target]
159+
[cascade.target]
160160
path = '/s1**'
161161
-- content/s1/p1.md --
162162
---

0 commit comments

Comments
 (0)