diff options
author | Anthony Fok <[email protected]> | 2018-07-09 22:29:52 -0600 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-07-10 09:01:54 +0200 |
commit | 4108705934846f2b7cae2602ce14aeee17139608 (patch) | |
tree | 91aea1d11da0ca68b014828876593e1105b2dd14 /hugolib/site_test.go | |
parent | 9c1e82085eb07d5b4dcdacbe82d5bafd26e08631 (diff) | |
download | hugo-4108705934846f2b7cae2602ce14aeee17139608.tar.gz hugo-4108705934846f2b7cae2602ce14aeee17139608.zip |
hugolib: Remove empty resources/ dir after TestNewSiteDefaultLang
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r-- | hugolib/site_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 7286c4c36..202c01986 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -15,6 +15,7 @@ package hugolib import ( "fmt" + "os" "path/filepath" "strings" "testing" @@ -359,6 +360,7 @@ func doTestShouldAlwaysHaveUglyURLs(t *testing.T, uglyURLs bool) { func TestNewSiteDefaultLang(t *testing.T) { t.Parallel() + defer os.Remove("resources") s, err := NewSiteDefaultLang() require.NoError(t, err) require.Equal(t, hugofs.Os, s.Fs.Source) |