aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/integrationtest_builder.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-28 11:41:59 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-28 11:41:59 +0100
commit2a0329423ce4b3359842affad76c40140d426943 (patch)
tree4bdbcb23b8c49492fce0d7697893fafc9c3dfc87 /hugolib/integrationtest_builder.go
parent50dc327d1aa52a785382468aaf5a5f9cae456dbf (diff)
downloadhugo-2a0329423ce4b3359842affad76c40140d426943.tar.gz
hugo-2a0329423ce4b3359842affad76c40140d426943.zip
testing: Rename integration_test.go to PACKAGE_integration_test.go
Primary motivation making them easier to find in the code editor.
Diffstat (limited to 'hugolib/integrationtest_builder.go')
-rw-r--r--hugolib/integrationtest_builder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/integrationtest_builder.go b/hugolib/integrationtest_builder.go
index 34d3c5530..3fec04df0 100644
--- a/hugolib/integrationtest_builder.go
+++ b/hugolib/integrationtest_builder.go
@@ -90,6 +90,7 @@ func TestRunning(t testing.TB, files string, opts ...TestOpt) *IntegrationTestBu
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 {
// Code fences.
conf.TxtarString = strings.ReplaceAll(conf.TxtarString, "§§§", "```")