From 2c51bba0c30fd33252f7832c12aec5eb8cb35a20 Mon Sep 17 00:00:00 2001 From: Joel Scoble Date: Thu, 6 Nov 2014 10:52:01 -0600 Subject: converted path 2 filepath --- hugolib/page_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'hugolib/page_test.go') 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 -- cgit v1.2.3