aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/process_worker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit_tests/process_worker.cpp')
-rw-r--r--test/unit_tests/process_worker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit_tests/process_worker.cpp b/test/unit_tests/process_worker.cpp
index 492ffff..1ddf1d5 100644
--- a/test/unit_tests/process_worker.cpp
+++ b/test/unit_tests/process_worker.cpp
@@ -85,9 +85,9 @@ void check_std_handles_different(Worker& worker) {
void check_write(Worker& worker) {
const auto handles = worker.test_write();
- BOOST_TEST(!Handle::is_invalid(handles.in));
- BOOST_TEST(!Handle::is_invalid(handles.out));
- BOOST_TEST(!Handle::is_invalid(handles.err));
+ BOOST_TEST(Handle::is_valid(handles.in));
+ BOOST_TEST(Handle::is_valid(handles.out));
+ BOOST_TEST(Handle::is_valid(handles.err));
}
void check_redirected_output(const Buffer& buffer, const std::vector<std::string>& expected_lines) {