diff --git a/tests/test_parse_file.cpp b/tests/test_parse_file.cpp index 7a3dc8f..8fecb9a 100644 --- a/tests/test_parse_file.cpp +++ b/tests/test_parse_file.cpp @@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE(test_example) BOOST_AUTO_TEST_CASE(test_example_stream) { - std::ifstream ifs("toml/tests/example.toml"); + std::ifstream ifs("toml/tests/example.toml", std::ios::binary); const auto data = toml::parse(ifs); BOOST_TEST(toml::find(data, "title") == "TOML Example");