mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-29 05:11:05 +00:00
Fix test, take 2.
This commit is contained in:
parent
15f1f8510f
commit
798c0fae71
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user