From 23aa1a5c37677a38873dc627f4b8077e0390f420 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 16 May 2021 01:18:27 +0300 Subject: Handle: is_invalid -> is_valid --- test/unit_tests/process_worker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/unit_tests') 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& expected_lines) { -- cgit v1.2.3