mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 20:32:49 +00:00
Fix warning.
This commit is contained in:
parent
44b57bdf8b
commit
45c50a9f1a
@ -1700,7 +1700,7 @@ TEST(FormatterTest, FileSinkWriteError) {
|
||||
fmt::FileSink fs(f.get());
|
||||
std::size_t result = std::fwrite(" ", 1, 1, f.get());
|
||||
int error_code = errno;
|
||||
EXPECT_EQ(0, result);
|
||||
EXPECT_EQ(0u, result);
|
||||
EXPECT_SYSTEM_ERROR(
|
||||
fs(Writer() << "test"), error_code, "cannot write to file");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user