projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1e820
)
hugolib: Remove empty resources/ dir after TestNewSiteDefaultLang
author
Anthony Fok
<foka@debian.org>
Tue, 10 Jul 2018 04:29:52 +0000
(22:29 -0600)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Tue, 10 Jul 2018 07:01:54 +0000
(09:01 +0200)
hugolib/site_test.go
patch
|
blob
|
history
diff --git
a/hugolib/site_test.go
b/hugolib/site_test.go
index 7286c4c36c68bd699a8965109ec65cce3391bd17..202c019861a5d47b9cba3b1f48f1fb01c129099b 100644
(file)
--- 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)