mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Fix MSVC build.
This commit is contained in:
@ -167,7 +167,7 @@ bool IsClosedInternal(int fd) {
|
|||||||
// Checks if the file is closed.
|
// Checks if the file is closed.
|
||||||
# define EXPECT_CLOSED(fd) EXPECT_TRUE(IsClosedInternal(fd))
|
# define EXPECT_CLOSED(fd) EXPECT_TRUE(IsClosedInternal(fd))
|
||||||
#else
|
#else
|
||||||
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd))
|
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd), "")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
TEST(FileTest, OpenFileInCtor) {
|
TEST(FileTest, OpenFileInCtor) {
|
||||||
|
Reference in New Issue
Block a user