aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/unit_tests/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit_tests/process.cpp b/test/unit_tests/process.cpp
index aa09bf4..957a507 100644
--- a/test/unit_tests/process.cpp
+++ b/test/unit_tests/process.cpp
@@ -85,7 +85,7 @@ BOOST_FIXTURE_TEST_CASE(echo_stdout_to_file, WithEchoExe) {
const auto process = Process::create(cmd_line, std::move(io));
process.wait();
BOOST_TEST(process.get_exit_code() == 0);
- const auto output = File::open_for_reading(CanonicalPath{"test.txt"}).read();
+ const auto output = File::open_r(CanonicalPath{"test.txt"}).read();
const auto utf8 = narrow(output);
BOOST_TEST(utf8 == "XXX\r\nYYY\r\nZZZ\r\n");
}