From 982d9513e71b3d48e20cfa38454a0e1215a8d963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 28 Jan 2024 22:11:05 +0100 Subject: testing: Simplify some integration tests --- hugolib/page_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'hugolib/page_test.go') diff --git a/hugolib/page_test.go b/hugolib/page_test.go index f5ff95f3c..e003f2ee1 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -698,12 +698,7 @@ title: "empty" |{{ .RawContent }}| ` - b := NewIntegrationTestBuilder( - IntegrationTestConfig{ - T: t, - TxtarString: files, - }, - ).Build() + b := Test(t, files) b.AssertFileContent("public/basic/index.html", "|**basic**|") b.AssertFileContent("public/empty/index.html", "! title") -- cgit v1.2.3