Add a test to Support.NormalizePath.
authorNico Weber <thakis@chromium.org>
Tue, 5 May 2020 17:41:24 +0000 (13:41 -0400)
committerNico Weber <thakis@chromium.org>
Tue, 5 May 2020 17:41:24 +0000 (13:41 -0400)
llvm/unittests/Support/Path.cpp

index b2eddd5..d80edbe 100644 (file)
@@ -1185,6 +1185,7 @@ TEST(Support, NormalizePath) {
   Tests.emplace_back("a\\\\b", "a\\\\b", "a\\\\b");
   Tests.emplace_back("\\a", "\\a", "/a");
   Tests.emplace_back("a\\", "a\\", "a/");
+  Tests.emplace_back("a\\t", "a\\t", "a/t");
 
   for (auto &T : Tests) {
     SmallString<64> Win(std::get<0>(T));