Apply clang-format

This commit is contained in:
Victor Zverovich
2020-07-09 09:06:24 -07:00
parent b998e0f30b
commit 60c43e8703
7 changed files with 33 additions and 40 deletions
+4 -4
View File
@@ -288,8 +288,8 @@ TEST(BufferedFileTest, Fileno) {
}
TEST(DirectBufferedFileTest, Print) {
fmt::direct_buffered_file out(
"test-file", fmt::file::WRONLY | fmt::file::CREATE);
fmt::direct_buffered_file out("test-file",
fmt::file::WRONLY | fmt::file::CREATE);
fmt::print(out, "The answer is {}.\n", 42);
out.close();
file in("test-file", file::RDONLY);
@@ -298,8 +298,8 @@ TEST(DirectBufferedFileTest, Print) {
TEST(DirectBufferedFileTest, BufferBoundary) {
auto str = std::string(4096, 'x');
fmt::direct_buffered_file out(
"test-file", fmt::file::WRONLY | fmt::file::CREATE);
fmt::direct_buffered_file out("test-file",
fmt::file::WRONLY | fmt::file::CREATE);
fmt::print(out, "{}", str);
fmt::print(out, "{}", str);
out.close();