diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2016-05-12 19:13:04 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2016-05-12 19:13:04 +0000 |
commit | 17e4499741351547b3fadff316885fd53eeedf1b (patch) | |
tree | 85600b1b194bc6525394c3e7fd68e46ff349d119 /unittests/Basic | |
parent | 889fcf316bb355bf9dbd4cc33cdd78deaf6ad4e7 (diff) |
[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
Diffstat (limited to 'unittests/Basic')
-rw-r--r-- | unittests/Basic/VirtualFileSystemTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<StringRef> 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) { |