mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
These should be EXPECT_TRUE, not EXPECT_FALSE. Amends r212415.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d08df5a1c5
commit
c789ae2345
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user