projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7d10b
)
These should be EXPECT_TRUE, not EXPECT_FALSE. Amends r212415.
author
Aaron Ballman
<aaron@aaronballman.com>
Sun, 6 Jul 2014 20:20:02 +0000
(20:20 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Sun, 6 Jul 2014 20:20:02 +0000
(20:20 +0000)
llvm-svn: 212419
llvm/unittests/Support/Path.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Support/Path.cpp
b/llvm/unittests/Support/Path.cpp
index
1a70772
..
cf2e1ee
100644
(file)
--- 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)));