diff options
author | Joel Scoble <joel.scoble@outlook.com> | 2014-11-06 19:01:56 +0300 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-11-14 06:37:14 +0300 |
commit | 7fd348cf791c61a2ccdccca6981ccd66142cb8d8 (patch) | |
tree | 0d90423bef2671cf01f32eed11eeee0cf1692a0b /source | |
parent | 4f2dfe7015635f19aeb88924769b25b5e0c60358 (diff) |
convert path 2 filepath
Diffstat (limited to 'source')
-rw-r--r-- | source/filesystem_test.go | 3 |
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 { |