diff options
author | Abseil Team <absl-team@google.com> | 2019-04-16 04:18:04 (GMT) |
---|---|---|
committer | Alex Strelnikov <strel@google.com> | 2019-04-16 20:17:41 (GMT) |
commit | 9f893b99598b1f0725dc8b92037f0d9f53095b90 (patch) | |
tree | 5f7ef696670d94a953569dc776eda7568988fadf /googletest/src | |
parent | 6d668180665e313bbda19f8187abf6140e80a7d7 (diff) | |
download | googletest-9f893b99598b1f0725dc8b92037f0d9f53095b90.zip googletest-9f893b99598b1f0725dc8b92037f0d9f53095b90.tar.gz googletest-9f893b99598b1f0725dc8b92037f0d9f53095b90.tar.bz2 |
Googletest export
[googletest] Fix death test condition.
PiperOrigin-RevId: 243742424
Diffstat (limited to 'googletest/src')
-rw-r--r-- | googletest/src/gtest-death-test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc index d52cff8..76b87a1 100644 --- a/googletest/src/gtest-death-test.cc +++ b/googletest/src/gtest-death-test.cc @@ -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. |