Make test resilient against windows path separators.

llvm-svn: 249320
This commit is contained in:
Benjamin Kramer 2015-10-05 14:15:13 +00:00
parent d6bbee73ee
commit 2b4e14ed58
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ TEST(Support, Path) {
SmallString<32> Relative("foo.cpp");
ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative));
Relative[5] = '/'; // Fix up windows paths.
ASSERT_EQ("/root/foo.cpp", Relative);
}