summaryrefslogtreecommitdiffstats
path: root/tpl/images
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-28 22:11:05 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-01-28 22:17:22 +0100
commit982d9513e71b3d48e20cfa38454a0e1215a8d963 (patch)
tree47ece9af143bfbd52fa0e5174f9349b8c04c3211 /tpl/images
parent6dedb4efc7b6a9fbe58a2daf0f77182638840fd9 (diff)
testing: Simplify some integration tests
Diffstat (limited to 'tpl/images')
-rw-r--r--tpl/images/images_integration_test.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/tpl/images/images_integration_test.go b/tpl/images/images_integration_test.go
index 81f35e39c..003422aed 100644
--- a/tpl/images/images_integration_test.go
+++ b/tpl/images/images_integration_test.go
@@ -40,12 +40,7 @@ imageConfig2 OK: {{ (imageConfig $path2).Width }}|
`
- b := hugolib.NewIntegrationTestBuilder(
- hugolib.IntegrationTestConfig{
- T: t,
- TxtarString: files,
- },
- ).Build()
+ b := hugolib.Test(t, files)
b.AssertFileContent("public/index.html", `
fileExists OK: true|