Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-12-28 15:54:23 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-12-28 15:54:23 +0300
commit7e76a6fd3bc78363ed31d712c63e6b17734797d7 (patch)
tree89509bab4b061a75cd8e5f888dc1510a4425cd9a /source
parent1b0780dbebb912a8e86487fc3573c687e0b5171f (diff)
source: Fix test on Windows
Diffstat (limited to 'source')
-rw-r--r--source/fileInfo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fileInfo_test.go b/source/fileInfo_test.go
index 1d7c86ec2..8ce8c16ef 100644
--- 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())