r348028 - Expect mixed path separators in FileManagerTest when resolving paths on Win32
Matthew Voss via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 30 11:52:50 PST 2018
Author: ormris
Date: Fri Nov 30 11:52:50 2018
New Revision: 348028
URL: http://llvm.org/viewvc/llvm-project?rev=348028&view=rev
Log:
Expect mixed path separators in FileManagerTest when resolving paths on Win32
Modified:
cfe/trunk/unittests/Basic/FileManagerTest.cpp
Modified: cfe/trunk/unittests/Basic/FileManagerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/FileManagerTest.cpp?rev=348028&r1=348027&r2=348028&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/FileManagerTest.cpp (original)
+++ cfe/trunk/unittests/Basic/FileManagerTest.cpp Fri Nov 30 11:52:50 2018
@@ -363,7 +363,7 @@ TEST_F(FileManagerTest, getVirtualFileFi
ASSERT_TRUE(file->isValid());
SmallString<64> ExpectedResult;
#ifdef _WIN32
- ExpectedResult = "C:";
+ ExpectedResult = "C:/";
#else
ExpectedResult = "/";
#endif
More information about the cfe-commits
mailing list