diff --git a/test/posix-test.cc b/test/posix-test.cc index 133a922e..9cf049b6 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -368,12 +368,6 @@ TEST(FileTest, Fdopen) { EXPECT_EQ(read_fd, FMT_POSIX(fileno(read_end.fdopen("r").get()))); } -TEST(FileTest, FdopenError) { - file f; - EXPECT_SYSTEM_ERROR_NOASSERT(f.fdopen("r"), EBADF, - "cannot associate stream with file descriptor"); -} - #ifdef FMT_LOCALE TEST(LocaleTest, Strtod) { fmt::Locale locale;