Commit 9f893b99 by Abseil Team Committed by Alex Strelnikov

Googletest export

[googletest] Fix death test condition. PiperOrigin-RevId: 243742424
parent 6d668180
...@@ -994,7 +994,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() { ...@@ -994,7 +994,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
zx_handle_t child_pipe_handle; zx_handle_t child_pipe_handle;
int child_pipe_fd; int child_pipe_fd;
status = fdio_pipe_half2(&child_pipe_fd, &child_pipe_handle); status = fdio_pipe_half2(&child_pipe_fd, &child_pipe_handle);
GTEST_DEATH_TEST_CHECK_(status != ZX_OK); GTEST_DEATH_TEST_CHECK_(status == ZX_OK);
set_read_fd(child_pipe_fd); set_read_fd(child_pipe_fd);
// Set the pipe handle for the child. // Set the pipe handle for the child.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment