[llvm] [llvm][Support][Windows] Fix slash in path for remove_directories (PR #121448)
Jinsong Ji via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 2 09:11:51 PST 2025
================
@@ -1326,6 +1326,9 @@ TEST_F(FileSystemTest, Remove) {
ASSERT_NO_ERROR(fs::remove_directories("D:/footest"));
+ ASSERT_NO_ERROR(fs::remove_directories(Twine(BaseDir) + "/foo/bar/baz"));
----------------
jsji wrote:
The path was created above in line 1306, we just did not test the removal of it.
https://github.com/llvm/llvm-project/pull/121448
More information about the llvm-commits
mailing list