From d970327d7b994b495ef3bb468c3e0599b0deef5a Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Thu, 6 Sep 2018 20:52:20 -0500 Subject: hugofs: Fix filepath issue in test --- hugofs/language_fs_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hugofs') 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 -- cgit v1.2.3