commit 7fd348cf791c61a2ccdccca6981ccd66142cb8d8
parent 4f2dfe7015635f19aeb88924769b25b5e0c60358
Author: Joel Scoble <joel.scoble@outlook.com>
Date: Thu, 6 Nov 2014 10:01:56 -0600
convert path 2 filepath
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/source/filesystem_test.go b/source/filesystem_test.go
@@ -2,7 +2,6 @@ package source
import (
"bytes"
- "path"
"path/filepath"
"testing"
)
@@ -35,7 +34,7 @@ func TestAddFile(t *testing.T) {
p := test.filename
if !filepath.IsAbs(test.filename) {
- p = path.Join(src.Base, test.filename)
+ p = filepath.Join(src.Base, test.filename)
}
if err := src.add(p, bytes.NewReader([]byte(test.content))); err != nil {