mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
testing: Rename integration_test.go to PACKAGE_integration_test.go
Primary motivation making them easier to find in the code editor.
This commit is contained in:
parent
50dc327d1a
commit
2a0329423c
34 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ func TestRunning(t testing.TB, files string, opts ...TestOpt) *IntegrationTestBu
|
||||||
return NewIntegrationTestBuilder(cfg).Build()
|
return NewIntegrationTestBuilder(cfg).Build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// In most cases you should not use this function directly, but the Test or TestRunning function.
|
||||||
func NewIntegrationTestBuilder(conf IntegrationTestConfig) *IntegrationTestBuilder {
|
func NewIntegrationTestBuilder(conf IntegrationTestConfig) *IntegrationTestBuilder {
|
||||||
// Code fences.
|
// Code fences.
|
||||||
conf.TxtarString = strings.ReplaceAll(conf.TxtarString, "§§§", "```")
|
conf.TxtarString = strings.ReplaceAll(conf.TxtarString, "§§§", "```")
|
||||||
|
|
Loading…
Reference in a new issue