diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 22:11:05 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 22:17:22 +0100 |
commit | 982d9513e71b3d48e20cfa38454a0e1215a8d963 (patch) | |
tree | 47ece9af143bfbd52fa0e5174f9349b8c04c3211 /hugolib/page_test.go | |
parent | 6dedb4efc7b6a9fbe58a2daf0f77182638840fd9 (diff) |
testing: Simplify some integration tests
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
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") |