diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-10-22 16:47:23 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-10-22 20:46:14 +0200 |
commit | 9f74dc2a52b6f568b5a060b7a4be47196804b01f (patch) | |
tree | c0f3ddff1103d7244a02f14ba9b862cf5593dced /hugofs/rootmapping_fs_test.go | |
parent | d1661b823af25c50d3bbe5366ea40a3cdd52e237 (diff) |
hugolib: Improve errors in /data handlling
See #5324
Diffstat (limited to 'hugofs/rootmapping_fs_test.go')
-rw-r--r-- | hugofs/rootmapping_fs_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hugofs/rootmapping_fs_test.go b/hugofs/rootmapping_fs_test.go index a84f41151..d76e00d2e 100644 --- a/hugofs/rootmapping_fs_test.go +++ b/hugofs/rootmapping_fs_test.go @@ -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) |