diff options
author | Joel Scoble <joel.scoble@outlook.com> | 2014-11-06 10:52:01 -0600 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-11-13 22:38:21 -0500 |
commit | 2c51bba0c30fd33252f7832c12aec5eb8cb35a20 (patch) | |
tree | e038e4586fd1b1b39ac680344ff1f7c498a190ea /hugolib/page_test.go | |
parent | 7fd348cf791c61a2ccdccca6981ccd66142cb8d8 (diff) |
converted path 2 filepath
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 6bb554bdf..1334b675a 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -2,7 +2,7 @@ package hugolib import ( "html/template" - "path" + "path/filepath" "strings" "testing" "time" @@ -520,11 +520,11 @@ func L(s ...string) []string { func TestLayoutOverride(t *testing.T) { var ( - path_content_two_dir = path.Join("content", "dub", "sub", "file1.md") - path_content_one_dir = path.Join("content", "gub", "file1.md") - path_content_no_dir = path.Join("content", "file1") - path_one_directory = path.Join("fub", "file1.md") - path_no_directory = path.Join("file1.md") + path_content_two_dir = filepath.Join("content", "dub", "sub", "file1.md") + path_content_one_dir = filepath.Join("content", "gub", "file1.md") + path_content_no_dir = filepath.Join("content", "file1") + path_one_directory = filepath.Join("fub", "file1.md") + path_no_directory = filepath.Join("file1.md") ) tests := []struct { content string |