Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJoel Scoble <joel.scoble@outlook.com>2014-11-06 19:01:56 +0300
committerspf13 <steve.francia@gmail.com>2014-11-14 06:37:14 +0300
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 {