From: Bruno Cardoso Lopes Date: Thu, 12 May 2016 19:13:04 +0000 (+0000) Subject: [Unittests] Reverse the order of arguments for correct debug output X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17e4499741351547b3fadff316885fd53eeedf1b;p=clang [Unittests] Reverse the order of arguments for correct debug output git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269326 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Basic/VirtualFileSystemTest.cpp b/unittests/Basic/VirtualFileSystemTest.cpp index b8e675e75f..992f0d8867 100644 --- a/unittests/Basic/VirtualFileSystemTest.cpp +++ b/unittests/Basic/VirtualFileSystemTest.cpp @@ -386,7 +386,7 @@ static void checkContents(DirIter I, ArrayRef ExpectedOut) { 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) {