mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Try to fix the build on windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76a74f7253
commit
b1d39851bf
@ -461,7 +461,7 @@ TEST_F(FileSystemTest, CarriageReturn) {
|
||||
}
|
||||
{
|
||||
OwningPtr<MemoryBuffer> Buf;
|
||||
MemoryBuffer::getFile(FilePathname, Buf);
|
||||
MemoryBuffer::getFile(FilePathname.c_str(), Buf);
|
||||
EXPECT_EQ(Buf->getBuffer(), "\r\n");
|
||||
}
|
||||
|
||||
@ -472,7 +472,7 @@ TEST_F(FileSystemTest, CarriageReturn) {
|
||||
}
|
||||
{
|
||||
OwningPtr<MemoryBuffer> Buf;
|
||||
MemoryBuffer::getFile(FilePathname, Buf);
|
||||
MemoryBuffer::getFile(FilePathname.c_str(), Buf);
|
||||
EXPECT_EQ(Buf->getBuffer(), "\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user