Remove redundant and nonportable test (#1313)

This commit is contained in:
Victor Zverovich 2019-09-23 13:36:12 -07:00
parent f29901097f
commit 20fdb88a1c

View File

@ -368,12 +368,6 @@ TEST(FileTest, Fdopen) {
EXPECT_EQ(read_fd, FMT_POSIX(fileno(read_end.fdopen("r").get()))); 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 #ifdef FMT_LOCALE
TEST(LocaleTest, Strtod) { TEST(LocaleTest, Strtod) {
fmt::Locale locale; fmt::Locale locale;