mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
@@ -75,8 +75,8 @@ func TestDataDirUnknownFormat(t *testing.T) {
|
||||
}
|
||||
s := &Site{}
|
||||
err := s.loadData([]source.Input{&source.InMemorySource{ByteSource: sources}})
|
||||
if err == nil {
|
||||
t.Fatalf("Should return an error")
|
||||
if err != nil {
|
||||
t.Fatalf("Should not return an error")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user