From 6bb68fdd05914d1fa1687c1c33fbb9b2ea2611d1 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 5 May 2020 13:41:24 -0400 Subject: [PATCH] Add a test to Support.NormalizePath. --- llvm/unittests/Support/Path.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index b2eddd5..d80edbe 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -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)); -- 2.7.4