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:
Rafael Espindola 2013-10-25 19:47:55 +00:00
parent 76a74f7253
commit b1d39851bf

View File

@ -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");
}
}