Fix failing on windows io read test (#3390)

This commit is contained in:
Michael Krasnyk 2016-12-01 20:44:28 +01:00 committed by Daniel Patterson
parent 561b7cc58e
commit 110e6c3689

View File

@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE(io_corrupt_fingerprint)
BOOST_AUTO_TEST_CASE(io_read_lines)
{
{
std::ofstream f(IO_TEXT_FILE);
std::ofstream f(IO_TEXT_FILE, std::ios::binary);
char str[] = "A\nB\nC\nD";
f.write(str, strlen(str));
}