Permalink
Browse files

source: Fix test on Windows

  • Loading branch information...
bep committed Dec 28, 2017
1 parent 1b0780d commit 7e76a6fd3bc78363ed31d712c63e6b17734797d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/fileInfo_test.go
View
@@ -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())

0 comments on commit 7e76a6f

Please sign in to comment.