r269326 - [Unittests] Reverse the order of arguments for correct debug output
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 12:13:04 PDT 2016
Author: bruno
Date: Thu May 12 14:13:04 2016
New Revision: 269326
URL: http://llvm.org/viewvc/llvm-project?rev=269326&view=rev
Log:
[Unittests] Reverse the order of arguments for correct debug output
Modified:
cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
Modified: cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp?rev=269326&r1=269325&r2=269326&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp (original)
+++ cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp Thu May 12 14:13:04 2016
@@ -386,7 +386,7 @@ static void checkContents(DirIter I, Arr
unsigned LastElt = std::min(InputToCheck.size(), Expected.size());
for (unsigned Idx = 0; Idx != LastElt; ++Idx)
- EXPECT_EQ(Expected[Idx], StringRef(InputToCheck[Idx]));
+ EXPECT_EQ(StringRef(InputToCheck[Idx]), Expected[Idx]);
}
TEST(VirtualFileSystemTest, OverlayIteration) {
More information about the cfe-commits
mailing list