diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-01-28 11:41:59 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-01-28 11:41:59 +0100 |
commit | 2a0329423ce4b3359842affad76c40140d426943 (patch) | |
tree | 4bdbcb23b8c49492fce0d7697893fafc9c3dfc87 /hugolib/integrationtest_builder.go | |
parent | 50dc327d1aa52a785382468aaf5a5f9cae456dbf (diff) | |
download | hugo-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.go | 1 |
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, "§§§", "```") |