mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
testing: Simplify some integration tests
This commit is contained in:
@@ -76,12 +76,7 @@ Foo: {{< param foo >}}
|
||||
-- layouts/index.html --
|
||||
Content: {{ .Content }}|
|
||||
`
|
||||
b := NewIntegrationTestBuilder(
|
||||
IntegrationTestConfig{
|
||||
T: t,
|
||||
TxtarString: files,
|
||||
},
|
||||
).Build()
|
||||
b := Test(t, files)
|
||||
|
||||
b.AssertFileContent("public/index.html", `
|
||||
<figure>
|
||||
@@ -94,6 +89,5 @@ Foo: bar
|
||||
|
||||
|
||||
`)
|
||||
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user