projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08df5a
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212419
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/Path.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/Path.cpp
b/unittests/Support/Path.cpp
index 1a70772d578a5f62d73dc6ab65cd5a6e749df5ad..cf2e1eed282b1d77c1b30eb588de09d91dce7d32 100644
(file)
--- a/
unittests/Support/Path.cpp
+++ b/
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)));