mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
@@ -50,6 +50,7 @@ func TestRootMappingFsDirnames(t *testing.T) {
|
||||
fif, err := rfs.Stat(filepath.Join("cf2", testfile))
|
||||
assert.NoError(err)
|
||||
assert.Equal("myfile.txt", fif.Name())
|
||||
assert.Equal("f2t/myfile.txt", fif.(RealFilenameInfo).RealFilename())
|
||||
|
||||
root, err := rfs.Open(filepathSeparator)
|
||||
assert.NoError(err)
|
||||
|
Reference in New Issue
Block a user