Fix test, take 2.

This commit is contained in:
Victor Zverovich 2014-05-03 16:55:13 -07:00
parent 15f1f8510f
commit 798c0fae71

View File

@ -286,7 +286,7 @@ TEST(FileTest, CloseError) {
#else
close(f->descriptor());
// Closing file twice causes death on Windows.
f->close();
EXPECT_DEATH(f->close(), "");
delete f;
#endif
}