From 2835c5c975686f80c8b1c4f9ae39eea72e6eeee1 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Thu, 12 May 2016 19:13:04 +0000 Subject: [Unittests] Reverse the order of arguments for correct debug output llvm-svn: 269326 --- clang/unittests/Basic/VirtualFileSystemTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp') diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp index b8e675e75fa..992f0d88675 100644 --- a/clang/unittests/Basic/VirtualFileSystemTest.cpp +++ b/clang/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) { -- cgit v1.2.3