diff options
author | leo <[email protected]> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:40 +0300 |
commit | 980edcd3304699edf9d4e4d6a656e585028e2a72 (patch) | |
tree | 139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/folder/dirut_ut.cpp | |
parent | b036a557f285146e5e35d4213e29a094ab907bcf (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/folder/dirut_ut.cpp')
-rw-r--r-- | util/folder/dirut_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/folder/dirut_ut.cpp b/util/folder/dirut_ut.cpp index 45ebfc842ca..fd1cafcb7a3 100644 --- a/util/folder/dirut_ut.cpp +++ b/util/folder/dirut_ut.cpp @@ -62,19 +62,19 @@ Y_UNIT_TEST_SUITE(TDirutTest) { UNIT_ASSERT(resolvepath(path, base)); UNIT_ASSERT(path == canon); } - + Y_UNIT_TEST(TestResolvePath) { -#ifdef _win_ +#ifdef _win_ DoTest("bar", "c:\\foo\\baz", "c:\\foo\\baz\\bar"); DoTest("c:\\foo\\bar", "c:\\bar\\baz", "c:\\foo\\bar"); -#else +#else DoTest("bar", "/foo/baz", "/foo/bar"); DoTest("/foo/bar", "/bar/baz", "/foo/bar"); #ifdef NDEBUG DoTest("bar", "./baz", "./bar"); #if 0 // should we support, for consistency, single-label dirs - DoTest("bar", "baz", "bar"); + DoTest("bar", "baz", "bar"); #endif #endif #endif |