Skip to content

Commit 85ee346

Browse files
committed
FMT: Update clang-format
1 parent 58a7b94 commit 85ee346

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

test/src/live_blocking_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ TEST_F(LiveBlockingTests, TestStop) {
331331
static_cast<::ssize_t>(rec_str.size())) {
332332
}
333333
}} // namespace test
334-
}; // namespace databento
334+
}; // namespace databento
335335

336336
LiveBlocking target{
337337
logger_.get(), kKey, dataset::kXnasItch, kLocalhost,

test/src/shared_channel_tests.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ class SharedChannelTests : public testing::Test {
3030
};
3131

3232
TEST_F(SharedChannelTests, TestReadExact) {
33-
write_thread_ = ScopedThread{[this] {
34-
this->Write({"parse", "stream", "tests", "end"});
35-
}};
33+
write_thread_ = ScopedThread{
34+
[this] { this->Write({"parse", "stream", "tests", "end"}); }};
3635
std::array<std::uint8_t, 16> buffer{};
3736
target_.ReadExact(buffer.data(), 3);
3837
EXPECT_STREQ(reinterpret_cast<const char*>(buffer.data()), "par");
@@ -70,9 +69,8 @@ TEST_F(SharedChannelTests, TestInterleavedReadsAndWrites) {
7069
}
7170

7271
TEST_F(SharedChannelTests, TestReadSome) {
73-
write_thread_ = ScopedThread{[this] {
74-
this->Write({"parse", "stream", "tests", "some", "last"});
75-
}};
72+
write_thread_ = ScopedThread{
73+
[this] { this->Write({"parse", "stream", "tests", "some", "last"}); }};
7674
std::array<std::uint8_t, 16> buffer{};
7775
std::string res;
7876
// -1 to keep last null byte

0 commit comments

Comments
 (0)