diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-22 11:39:57 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-23 20:40:20 +0300 |
commit | 8b49c3a17547cf073dd555d4a0b6b68268c85d76 (patch) | |
tree | 5b162e38745b8df4c684788b1a07ec260a2aa4f2 /hugolib/hugo_sites_build_test.go | |
parent | bcd32f1086c8c604fb22a7496924e41cc46b1605 (diff) |
hugolib: Enable leaktest
See #3082
Diffstat (limited to 'hugolib/hugo_sites_build_test.go')
-rw-r--r-- | hugolib/hugo_sites_build_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index 80f4d5cc4..b925b323d 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -10,7 +10,7 @@ import ( "os" "path/filepath" - //"github.com/fortytw2/leaktest" + "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/spf13/afero" "github.com/spf13/hugo/deps" @@ -391,7 +391,7 @@ func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { func TestMultiSitesRebuild(t *testing.T) { // t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4 - // defer leaktest.Check(t)() + defer leaktest.Check(t)() siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true} sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate) |