From 8e75131a671e45f0ede900d15d5ced2a6730eb5b Mon Sep 17 00:00:00 2001 From: "Francois Hill (dell laptop)" Date: Mon, 18 Apr 2016 20:17:01 +0200 Subject: [PATCH] Closes spf13/afero#79 Amendment to previous commit, fixed the related test --- basepath_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)