diff options
author | Cameron Moore <[email protected]> | 2018-09-06 20:52:20 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-09-07 08:25:51 +0200 |
commit | d970327d7b994b495ef3bb468c3e0599b0deef5a (patch) | |
tree | 12a09192e8d8647aca5d85ab611dc7096d46cfbe /hugofs | |
parent | 0013bea901ee2124f4c18f9728abf47c3880f97d (diff) | |
download | hugo-d970327d7b994b495ef3bb468c3e0599b0deef5a.tar.gz hugo-d970327d7b994b495ef3bb468c3e0599b0deef5a.zip |
hugofs: Fix filepath issue in test
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/language_fs_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hugofs/language_fs_test.go b/hugofs/language_fs_test.go index c86d5158c..52e8dc9de 100644 --- a/hugofs/language_fs_test.go +++ b/hugofs/language_fs_test.go @@ -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 |