summaryrefslogtreecommitdiff
path: root/test/buffer.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-09-15 21:15:53 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-09-15 21:15:53 +0200
commitaa49abdf239bae6065fddd0839ec67a404c9748c (patch)
tree631fbb2df58aa35df3d60c65c037ef74b1807114 /test/buffer.cc
parentbf41a601fd0447bcf3a2937a595a1cd8ca5c1633 (diff)
Add .clang-format
Make it easier to keep a consistent style
Diffstat (limited to 'test/buffer.cc')
-rw-r--r--test/buffer.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/buffer.cc b/test/buffer.cc
index e747fb7..897bd88 100644
--- a/test/buffer.cc
+++ b/test/buffer.cc
@@ -1,9 +1,8 @@
-#include <gtest/gtest.h>
-
#include "buffer.hh"
#include <cstdint>
#include <cstring>
+#include <gtest/gtest.h>
#include <memory>
#include <utility>
@@ -240,10 +239,9 @@ TEST_P(BufferTest, full) {
buffer->consume(0);
}
-INSTANTIATE_TEST_SUITE_P(
- AllTypes,
- BufferTest,
- testing::Values(BufferType::Fixed, BufferType::Dynamic));
+INSTANTIATE_TEST_SUITE_P(AllTypes, BufferTest,
+ testing::Values(BufferType::Fixed,
+ BufferType::Dynamic));
TEST(buffer, dynamic_increase) {
auto buffer = Buffer::dynamic(10, 20);