mirror of
https://github.com/google/googletest.git
synced 2024-12-30 21:23:01 +08:00
Googletest export
[googletest] Fix death test condition. PiperOrigin-RevId: 243742424
This commit is contained in:
parent
6d66818066
commit
9f893b9959
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user