aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-05-12 19:13:04 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-05-12 19:13:04 +0000
commit2835c5c975686f80c8b1c4f9ae39eea72e6eeee1 (patch)
tree11210a07442a7a2209a420de3afe09afecb027cc /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent32a122758fb7a670b6632f520f310ed4807334bf (diff)
downloadllvm-2835c5c975686f80c8b1c4f9ae39eea72e6eeee1.zip
llvm-2835c5c975686f80c8b1c4f9ae39eea72e6eeee1.tar.gz
llvm-2835c5c975686f80c8b1c4f9ae39eea72e6eeee1.tar.bz2
[Unittests] Reverse the order of arguments for correct debug output
llvm-svn: 269326
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
-rw-r--r--clang/unittests/Basic/VirtualFileSystemTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp
index b8e675e..992f0d8 100644
--- a/clang/unittests/Basic/VirtualFileSystemTest.cpp
+++ b/clang/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) {