Fix Erroridf/Warnidf mixed case issue

Fixes #12617
This commit is contained in:
Bjørn Erik Pedersen 2024-06-22 18:41:18 +02:00
parent 3b724462c2
commit 8731d88222
No known key found for this signature in database
7 changed files with 53 additions and 23 deletions

View file

@ -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) {