Split Windows and Unix specific path tests

This commit is contained in:
bep
2015-01-27 14:03:48 +01:00
parent b155e8b4cb
commit 8ad4fd05d8
3 changed files with 54 additions and 1 deletions

View File

@@ -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")},
}