Fix failing on windows io read test (#3390)
This commit is contained in:
parent
561b7cc58e
commit
110e6c3689
@ -107,7 +107,7 @@ BOOST_AUTO_TEST_CASE(io_corrupt_fingerprint)
|
|||||||
BOOST_AUTO_TEST_CASE(io_read_lines)
|
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";
|
char str[] = "A\nB\nC\nD";
|
||||||
f.write(str, strlen(str));
|
f.write(str, strlen(str));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user