mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Fix test.
This commit is contained in:
parent
58b762f965
commit
f4c5b37561
@ -360,7 +360,7 @@ TEST(FileTest, Dup) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(FileTest, DupError) {
|
TEST(FileTest, DupError) {
|
||||||
EXPECT_SYSTEM_ERROR(File::dup(-1),
|
EXPECT_SYSTEM_ERROR_OR_DEATH(File::dup(-1),
|
||||||
EBADF, "cannot duplicate file descriptor -1");
|
EBADF, "cannot duplicate file descriptor -1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user