diff --git a/basepath_test.go b/basepath_test.go index bfe39c4..e9c0cfd 100644 --- a/basepath_test.go +++ b/basepath_test.go @@ -119,7 +119,7 @@ func TestNestedBasePaths(t *testing.T) { } 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()) } else if actualPath != s.ExpectedPath { t.Errorf("Expected \n%s got \n%s", s.ExpectedPath, actualPath)