diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-07-06 20:20:02 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-07-06 20:20:02 +0000 |
commit | 586ee604b5eaecb557c760b9d277d6243a5dd14f (patch) | |
tree | aa04c41ef11e56ca4255f0f39fcae5f4ff3eb5d4 /llvm/unittests/Support/Path.cpp | |
parent | ee7d10b5aa7f7b53df2a69239290414f9c87ff49 (diff) | |
download | llvm-586ee604b5eaecb557c760b9d277d6243a5dd14f.zip llvm-586ee604b5eaecb557c760b9d277d6243a5dd14f.tar.gz llvm-586ee604b5eaecb557c760b9d277d6243a5dd14f.tar.bz2 |
These should be EXPECT_TRUE, not EXPECT_FALSE. Amends r212415.
llvm-svn: 212419
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index 1a70772..cf2e1ee 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -559,7 +559,7 @@ TEST_F(FileSystemTest, CarriageReturn) { } { auto Buf = MemoryBuffer::getFile(FilePathname.c_str()); - EXPECT_FALSE(Buf); + EXPECT_TRUE((bool)Buf); EXPECT_EQ(Buf.get()->getBuffer(), "\r\n"); } @@ -570,7 +570,7 @@ TEST_F(FileSystemTest, CarriageReturn) { } { auto Buf = MemoryBuffer::getFile(FilePathname.c_str()); - EXPECT_FALSE(Buf); + EXPECT_TRUE((bool)Buf); EXPECT_EQ(Buf.get()->getBuffer(), "\n"); } ASSERT_NO_ERROR(fs::remove(Twine(FilePathname))); |