Fix test.

This commit is contained in:
Victor Zverovich 2014-05-03 18:27:23 -07:00
parent 58b762f965
commit f4c5b37561

View File

@ -360,7 +360,7 @@ TEST(FileTest, Dup) {
}
TEST(FileTest, DupError) {
EXPECT_SYSTEM_ERROR(File::dup(-1),
EXPECT_SYSTEM_ERROR_OR_DEATH(File::dup(-1),
EBADF, "cannot duplicate file descriptor -1");
}