aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-16 01:18:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-16 01:18:27 +0300
commit23aa1a5c37677a38873dc627f4b8077e0390f420 (patch)
treed615fc41d034b1ca27173f7c25b767866439b1c1 /test
parentFile: make public child of Handle (diff)
downloadwinapi-common-23aa1a5c37677a38873dc627f4b8077e0390f420.tar.gz
winapi-common-23aa1a5c37677a38873dc627f4b8077e0390f420.zip
Handle: is_invalid -> is_valid
Diffstat (limited to 'test')
-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) {