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

@ -562,7 +562,7 @@ title: "p1"
b = hugolib.Test(t, files, hugolib.TestOptWarn())
b.AssertLogNotContains("WARN")
b.AssertLogContains("! WARN")
}
func TestPagesFromGoTmplPathWarningsPathResource(t *testing.T) {
@ -597,7 +597,7 @@ value: data1
b = hugolib.Test(t, files, hugolib.TestOptWarn())
b.AssertLogNotContains("WARN")
b.AssertLogContains("! WARN")
}
func TestPagesFromGoTmplShortcodeNoPreceddingCharacterIssue12544(t *testing.T) {