Skip to content

Commit

Permalink
source: Enable disabled test
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Nov 19, 2017
1 parent c1d3259 commit adbd5bc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions source/dirs_test.go
Expand Up @@ -75,6 +75,14 @@ func TestStaticDirs(t *testing.T) {
return l1

}, []string{"s1", "l1s1", "l1s2"}},
{func(cfg config.Provider, fs *hugofs.Fs) config.Provider {
cfg.Set("staticDir", []string{"s1", "s2"})

l1 := helpers.NewLanguage("en", cfg)
l1.Set("staticDir2", []string{"l1s1", "l1s2"})
return l1

}, []string{"s1", "s2", "l1s1", "l1s2"}},
{func(cfg config.Provider, fs *hugofs.Fs) config.Provider {
cfg.Set("staticDir", "s1")

Expand All @@ -91,9 +99,6 @@ func TestStaticDirs(t *testing.T) {
}

for i, test := range tests {
if i != 0 {
break
}
msg := fmt.Sprintf("Test %d", i)
v := viper.New()
fs := hugofs.NewMem(v)
Expand Down

0 comments on commit adbd5bc

Please sign in to comment.