forked from mirror/afero
Closes spf13/afero#79
Amendment to previous commit, fixed the related test
This commit is contained in:
parent
139c7715f0
commit
8e75131a67
|
@ -119,7 +119,7 @@ func TestNestedBasePaths(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, s := range specs {
|
for _, s := range specs {
|
||||||
if actualPath, err := s.BaseFs.(*BasePathFs).RealPath(s.FileName); err != nil {
|
if actualPath, err := s.BaseFs.(*BasePathFs).fullPath(s.FileName); err != nil {
|
||||||
t.Errorf("Got error %s", err.Error())
|
t.Errorf("Got error %s", err.Error())
|
||||||
} else if actualPath != s.ExpectedPath {
|
} else if actualPath != s.ExpectedPath {
|
||||||
t.Errorf("Expected \n%s got \n%s", s.ExpectedPath, actualPath)
|
t.Errorf("Expected \n%s got \n%s", s.ExpectedPath, actualPath)
|
||||||
|
|
Loading…
Reference in New Issue