Commit 798c0fae authored by Victor Zverovich's avatar Victor Zverovich

Fix test, take 2.

parent 15f1f851
...@@ -286,7 +286,7 @@ TEST(FileTest, CloseError) { ...@@ -286,7 +286,7 @@ TEST(FileTest, CloseError) {
#else #else
close(f->descriptor()); close(f->descriptor());
// Closing file twice causes death on Windows. // Closing file twice causes death on Windows.
f->close(); EXPECT_DEATH(f->close(), "");
delete f; delete f;
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment