ref: 7e76a6fd3bc78363ed31d712c63e6b17734797d7
parent: 1b0780dbebb912a8e86487fc3573c687e0b5171f
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Dec 28 08:54:23 EST 2017
source: Fix test on Windows
--- a/source/fileInfo_test.go
+++ b/source/fileInfo_test.go
@@ -30,7 +30,7 @@
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())