diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 01:18:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 01:18:27 +0300 |
commit | 23aa1a5c37677a38873dc627f4b8077e0390f420 (patch) | |
tree | d615fc41d034b1ca27173f7c25b767866439b1c1 /test/unit_tests | |
parent | File: make public child of Handle (diff) | |
download | winapi-common-23aa1a5c37677a38873dc627f4b8077e0390f420.tar.gz winapi-common-23aa1a5c37677a38873dc627f4b8077e0390f420.zip |
Handle: is_invalid -> is_valid
Diffstat (limited to 'test/unit_tests')
-rw-r--r-- | test/unit_tests/process_worker.cpp | 6 |
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) { |