create: Run all the test variants in TestNewContent

See #2750
This commit is contained in:
Bjørn Erik Pedersen 2016-11-30 08:29:08 +01:00
parent c87331ae84
commit 529574e6f9

View file

@ -48,9 +48,6 @@ func TestNewContent(t *testing.T) {
} }
for i, c := range cases { for i, c := range cases {
if i > 0 {
break
}
err = create.NewContent(hugofs.Source(), c.kind, c.path) err = create.NewContent(hugofs.Source(), c.kind, c.path)
if err != nil { if err != nil {
t.Errorf("[%d] NewContent: %s", i, err) t.Errorf("[%d] NewContent: %s", i, err)