aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/cascade_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-06-22 18:41:18 +0200
committerBjørn Erik Pedersen <[email protected]>2024-06-22 19:01:56 +0200
commit8731d8822216dd3c7587769e3cf5d98690717b0c (patch)
tree8661a711d403756c65c1a8a3bea0bdbc5aa8b12f /hugolib/cascade_test.go
parent3b724462c24b6824c8ac4a3a9ec8dbe274809032 (diff)
downloadhugo-8731d8822216dd3c7587769e3cf5d98690717b0c.tar.gz
hugo-8731d8822216dd3c7587769e3cf5d98690717b0c.zip
Fix Erroridf/Warnidf mixed case issue
Fixes #12617
Diffstat (limited to 'hugolib/cascade_test.go')
-rw-r--r--hugolib/cascade_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/cascade_test.go b/hugolib/cascade_test.go
index 7a4b6e6be..cbceaaed5 100644
--- a/hugolib/cascade_test.go
+++ b/hugolib/cascade_test.go
@@ -779,7 +779,7 @@ title: "Post 1"
{{ .Title }}|{{ .Params.foo }}$
`
b := Test(t, files)
- b.AssertLogNotContains(`looks like a path with an extension`)
+ b.AssertLogContains(`! looks like a path with an extension`)
}
func TestCascadConfigExtensionInPath(t *testing.T) {
@@ -813,7 +813,7 @@ foo = 'bar'
path = '/p1.md'
`
b := Test(t, files)
- b.AssertLogNotContains(`looks like a path with an extension`)
+ b.AssertLogContains(`! looks like a path with an extension`)
}
func TestCascadeIssue12172(t *testing.T) {