mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix MSVC build.
This commit is contained in:
parent
ee793b35cf
commit
c6f40e339f
@ -167,7 +167,7 @@ bool IsClosedInternal(int fd) {
|
||||
// Checks if the file is closed.
|
||||
# define EXPECT_CLOSED(fd) EXPECT_TRUE(IsClosedInternal(fd))
|
||||
#else
|
||||
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd))
|
||||
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd), "")
|
||||
#endif
|
||||
|
||||
TEST(FileTest, OpenFileInCtor) {
|
||||
|
Loading…
Reference in New Issue
Block a user