mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
testing: Simplify some integration tests
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user