This commit is contained in:
@ -23,7 +23,7 @@ using namespace IACore;
|
||||
IACORE_MAIN() {
|
||||
(void)args;
|
||||
|
||||
IA_TRY_PURE(SocketOps::initialize());
|
||||
OX_TRY_PURE(SocketOps::initialize());
|
||||
|
||||
std::cout
|
||||
<< console::GREEN
|
||||
|
||||
@ -192,7 +192,7 @@ auto test_multi_line() -> bool {
|
||||
bool found_a = false;
|
||||
bool found_b = false;
|
||||
|
||||
IA_UNUSED const auto res =
|
||||
const auto res =
|
||||
ProcessOps::spawn_process_sync(cmd, arg, [&](StringView line) {
|
||||
line_count++;
|
||||
if (line.find("LineA") != String::npos) {
|
||||
@ -202,6 +202,7 @@ auto test_multi_line() -> bool {
|
||||
found_b = true;
|
||||
}
|
||||
});
|
||||
IAT_CHECK(res.has_value());
|
||||
|
||||
IAT_CHECK(found_a);
|
||||
IAT_CHECK(found_b);
|
||||
|
||||
Reference in New Issue
Block a user