Skip to content

Commit

Permalink
hugofs: Fix filepath issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
moorereason authored and bep committed Sep 7, 2018
1 parent 0013bea commit d970327
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hugofs/language_fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ func TestLanguagFs(t *testing.T) {
assert.Equal("page.sv.md", lfi.virtualName)
assert.Equal("__hugofs_sv_page.md", lfi.Name())
assert.Equal("page.md", lfi.RealName())
assert.Equal("/my/base", lfi.BaseDir())
assert.Equal(filepath.FromSlash("/my/base"), lfi.BaseDir())
assert.Equal("sv", lfi.Lang())
assert.Equal("page", lfi.TranslationBaseName())

}

// Issue 4559
Expand Down

0 comments on commit d970327

Please sign in to comment.