mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Split Windows and Unix specific path tests
This commit is contained in:
@@ -395,7 +395,6 @@ func TestAbsPathify(t *testing.T) {
|
||||
}
|
||||
data := []test{
|
||||
{os.TempDir(), filepath.FromSlash("/work"), filepath.Clean(os.TempDir())}, // TempDir has trailing slash
|
||||
// todo bep breaks on Windows: {filepath.FromSlash("/banana/../dir/"), filepath.FromSlash("/work"), filepath.FromSlash("/dir")},
|
||||
{"dir", filepath.FromSlash("/work"), filepath.FromSlash("/work/dir")},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user