diff options
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/rootmapping_fs_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugofs/rootmapping_fs_test.go b/hugofs/rootmapping_fs_test.go index d76e00d2e..e6a0301c9 100644 --- a/hugofs/rootmapping_fs_test.go +++ b/hugofs/rootmapping_fs_test.go @@ -50,7 +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()) + assert.Equal(filepath.FromSlash("f2t/myfile.txt"), fif.(RealFilenameInfo).RealFilename()) root, err := rfs.Open(filepathSeparator) assert.NoError(err) |