diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 11:41:59 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 11:41:59 +0100 |
commit | 2a0329423ce4b3359842affad76c40140d426943 (patch) | |
tree | 4bdbcb23b8c49492fce0d7697893fafc9c3dfc87 /hugolib | |
parent | 50dc327d1aa52a785382468aaf5a5f9cae456dbf (diff) |
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')
-rw-r--r-- | hugolib/hugolib_integration_test.go (renamed from hugolib/integration_test.go) | 0 | ||||
-rw-r--r-- | hugolib/integrationtest_builder.go | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/hugolib/integration_test.go b/hugolib/hugolib_integration_test.go index 250c7bcec..250c7bcec 100644 --- a/hugolib/integration_test.go +++ b/hugolib/hugolib_integration_test.go 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, "§§§", "```") |