hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 950d9f55a53705b332a919df1a2f45307019d2fd
parent de670ced86e6df76278a19f19068bbeb46cc5d2f
Author: Ruben <ruben.nellen@gmail.com>
Date:   Fri, 29 Nov 2013 08:22:44 +0100

Testcases for multilevel structure were wrong

Diffstat:
Msource/filesystem_unix_test.go | 4++--
Msource/filesystem_windows_test.go | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/source/filesystem_unix_test.go b/source/filesystem_unix_test.go
@@ -9,7 +9,7 @@ var platformBase = "/base/"
 var platformPaths = []TestPath{
 	{"foobar", "foobar", "aaa", "", ""},
 	{"b/1file", "1file", "aaa", "b", "b/"},
-	{"c/d/2file", "2file", "aaa", "d", "c/d/"},
-	{"/base/e/f/3file", "3file", "aaa", "f", "e/f/"},
+	{"c/d/2file", "2file", "aaa", "c", "c/d/"},
+	{"/base/e/f/3file", "3file", "aaa", "e", "e/f/"},
 	{"section/foo.rss", "foo.rss", "aaa", "section", "section/"},
 }
diff --git a/source/filesystem_windows_test.go b/source/filesystem_windows_test.go
@@ -9,7 +9,7 @@ var platformBase = "C:\\foo\\"
 var platformPaths = []TestPath{
 	{"foobar", "foobar", "aaa", "", ""},
 	{"b\\1file", "1file", "aaa", "b", "b/"},
-	{"c\\d\\2file", "2file", "aaa", "d", "c/d/"},
-	{"C:\\foo\\e\\f\\3file", "3file", "aaa", "f", "e/f/"}, // note volume case is equal to platformBase
+	{"c\\d\\2file", "2file", "aaa", "c", "c/d/"},
+	{"C:\\foo\\e\\f\\3file", "3file", "aaa", "e", "e/f/"}, // note volume case is equal to platformBase
 	{"section\\foo.rss", "foo.rss", "aaa", "section", "section/"},
 }