aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/resources/resources_integration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/resources/resources_integration_test.go')
-rw-r--r--tpl/resources/resources_integration_test.go12
1 files changed, 2 insertions, 10 deletions
diff --git a/tpl/resources/resources_integration_test.go b/tpl/resources/resources_integration_test.go
index 02aa5d29d..5a3c29666 100644
--- a/tpl/resources/resources_integration_test.go
+++ b/tpl/resources/resources_integration_test.go
@@ -54,11 +54,7 @@ Copy3: {{ $copy3.RelPermalink}}|{{ $copy3.MediaType }}|{{ $copy3.Content | safeJ
`
- b := hugolib.NewIntegrationTestBuilder(
- hugolib.IntegrationTestConfig{
- T: t,
- TxtarString: files,
- }).Build()
+ b := hugolib.Test(t, files)
b.AssertFileContent("public/index.html", `
Image Orig: /blog/images/pixel.png|image/png|1|1|
@@ -112,11 +108,7 @@ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAA
`
- b := hugolib.NewIntegrationTestBuilder(
- hugolib.IntegrationTestConfig{
- T: t,
- TxtarString: files,
- }).Build()
+ b := hugolib.Test(t, files)
b.AssertFileContent("public/index.html", `
Image OK