diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-01-28 22:11:05 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-01-28 22:17:22 +0100 |
commit | 982d9513e71b3d48e20cfa38454a0e1215a8d963 (patch) | |
tree | 47ece9af143bfbd52fa0e5174f9349b8c04c3211 /resources/resource_transformers | |
parent | 6dedb4efc7b6a9fbe58a2daf0f77182638840fd9 (diff) | |
download | hugo-982d9513e71b3d48e20cfa38454a0e1215a8d963.tar.gz hugo-982d9513e71b3d48e20cfa38454a0e1215a8d963.zip |
testing: Simplify some integration tests
Diffstat (limited to 'resources/resource_transformers')
-rw-r--r-- | resources/resource_transformers/templates/templates_integration_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/resources/resource_transformers/templates/templates_integration_test.go b/resources/resource_transformers/templates/templates_integration_test.go index 4eaac8e27..969e09c36 100644 --- a/resources/resource_transformers/templates/templates_integration_test.go +++ b/resources/resource_transformers/templates/templates_integration_test.go @@ -59,11 +59,7 @@ LangURL: {{ relLangURL "foo" }} ` - b := hugolib.NewIntegrationTestBuilder( - hugolib.IntegrationTestConfig{ - T: t, - TxtarString: files, - }).Build() + b := hugolib.Test(t, files) b.AssertFileContent("public/en/index.html", ` Hello1: Hello |