hugo

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

git clone git://git.shimmy1996.com/hugo.git
commit 7e76a6fd3bc78363ed31d712c63e6b17734797d7
parent 1b0780dbebb912a8e86487fc3573c687e0b5171f
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu, 28 Dec 2017 13:54:23 +0100

source: Fix test on Windows

Diffstat:
Msource/fileInfo_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/fileInfo_test.go b/source/fileInfo_test.go
@@ -30,7 +30,7 @@ func TestFileInfo(t *testing.T) {
 		filename string
 		assert   func(f *FileInfo)
 	}{
-		{"/a/", filepath.FromSlash("/a/b/page.md"), func(f *FileInfo) {
+		{filepath.FromSlash("/a/"), filepath.FromSlash("/a/b/page.md"), func(f *FileInfo) {
 			assert.Equal(filepath.FromSlash("/a/b/page.md"), f.Filename())
 			assert.Equal(filepath.FromSlash("b/"), f.Dir())
 			assert.Equal(filepath.FromSlash("b/page.md"), f.Path())