forked from OSchip/llvm-project
Make test resilient against windows path separators.
llvm-svn: 249320
This commit is contained in:
parent
d6bbee73ee
commit
2b4e14ed58
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue