diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-06-22 18:41:18 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-06-22 19:01:56 +0200 |
commit | 8731d8822216dd3c7587769e3cf5d98690717b0c (patch) | |
tree | 8661a711d403756c65c1a8a3bea0bdbc5aa8b12f /hugolib/cascade_test.go | |
parent | 3b724462c24b6824c8ac4a3a9ec8dbe274809032 (diff) | |
download | hugo-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.go | 4 |
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) { |