mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -98,15 +98,6 @@ func TestDataDirMultipleSources(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestDataDirUnknownFormat(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
sources := []source.ByteSource{
|
||||
{Name: filepath.FromSlash("data/test.roml"), Content: []byte("boo")},
|
||||
}
|
||||
doTestDataDir(t, true, sources)
|
||||
}
|
||||
|
||||
func doTestDataDir(t *testing.T, expected interface{}, sources []source.ByteSource, configKeyValues ...interface{}) {
|
||||
var (
|
||||
cfg, fs = newTestCfg()
|
||||
|
Reference in New Issue
Block a user