Amendment to previous commit, fixed the related test
This commit is contained in:
Francois Hill (dell laptop) 2016-04-18 20:17:01 +02:00
parent 139c7715f0
commit 8e75131a67
1 changed files with 1 additions and 1 deletions

View File

@ -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)