mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-04 19:44:09 +02:00
Fix test.
This commit is contained in:
@@ -360,7 +360,7 @@ TEST(FileTest, Dup) {
|
||||
}
|
||||
|
||||
TEST(FileTest, DupError) {
|
||||
EXPECT_SYSTEM_ERROR(File::dup(-1),
|
||||
EXPECT_SYSTEM_ERROR_OR_DEATH(File::dup(-1),
|
||||
EBADF, "cannot duplicate file descriptor -1");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user