aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go')
-rw-r--r--hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go b/hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go
index 3c50f87f7..709d6db7b 100644
--- a/hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go
+++ b/hugolib/pagesfromdata/pagesfromgotmpl_integration_test.go
@@ -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) {