summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJoel Scoble <joel.scoble@outlook.com>2014-11-06 10:01:56 -0600
committerspf13 <steve.francia@gmail.com>2014-11-13 22:37:14 -0500
commit7fd348cf791c61a2ccdccca6981ccd66142cb8d8 (patch)
tree0d90423bef2671cf01f32eed11eeee0cf1692a0b /source
parent4f2dfe7015635f19aeb88924769b25b5e0c60358 (diff)
convert path 2 filepath
Diffstat (limited to 'source')
-rw-r--r--source/filesystem_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/filesystem_test.go b/source/filesystem_test.go
index d2639310e..95526415a 100644
--- 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 {