mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 11:44:46 +02:00
Fix test, take 2.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user