| 5 | |
| 6 | Y_UNIT_TEST_SUITE(TestSourceRoot) { |
| 7 | Y_UNIT_TEST(TestStrip) { |
| 8 | // Reconstruct() converts "\" -> "/" on Windows |
| 9 | const TString path = TPathSplit(__SOURCE_FILE_IMPL__.As<TStringBuf>()).Reconstruct(); |
| 10 | UNIT_ASSERT_EQUAL(path, "util" LOCSLASH_S "system" LOCSLASH_S "src_root_ut.cpp"); |
| 11 | } |
| 12 | |
| 13 | Y_UNIT_TEST(TestPrivateChopPrefixRoutine) { |
| 14 | static constexpr const char str[] = ":\0:\0: It's unlikely that this string has an ARCADIA_ROOT as its prefix :\0:\0:"; |
nothing calls this directly
no test coverage detected