Remove magic number
This commit is contained in:
parent
242f0f623c
commit
960149f913
@ -934,7 +934,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
|
|||||||
|
|
||||||
// Build the pipe for communication with the child.
|
// Build the pipe for communication with the child.
|
||||||
int read_fd;
|
int read_fd;
|
||||||
status = launchpad_add_pipe(lp, &read_fd, 3);
|
status = launchpad_add_pipe(lp, &read_fd, kFuchsiaReadPipeFd);
|
||||||
GTEST_DEATH_TEST_CHECK_(status == ZX_OK);
|
GTEST_DEATH_TEST_CHECK_(status == ZX_OK);
|
||||||
set_read_fd(read_fd);
|
set_read_fd(read_fd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user