Skip to content

Commit

Permalink
Googletest export
Browse files Browse the repository at this point in the history
[googletest] Fix death test condition.

PiperOrigin-RevId: 243742424
  • Loading branch information
Abseil Team authored and astrelni committed Apr 16, 2019
1 parent 6d66818 commit 9f893b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googletest/src/gtest-death-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
zx_handle_t child_pipe_handle;
int child_pipe_fd;
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 the pipe handle for the child.
Expand Down

0 comments on commit 9f893b9

Please sign in to comment.