fix: apply clang-format and exclude third-party libraries from formatting checks
- Applied clang-format to fix formatting violations in TUI and other source files - Updated CMakeLists.txt to exclude src/lib/* from format targets to prevent third-party library violations - Fixes clang-format violations in chat_tui.cc, tui.cc, and unified_layout.cc - All source files now pass format-check target 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -277,8 +277,7 @@ TEST_F(RoomIntegrationTest, BinaryDataExactMatch) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (might_be_final)
|
||||
break;
|
||||
if (might_be_final) break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -319,12 +318,9 @@ TEST_F(RoomIntegrationTest, KnownRoomData) {
|
||||
bool found_layer1 = false;
|
||||
|
||||
for (const auto& obj : objects) {
|
||||
if (obj.id_ < 0x100)
|
||||
found_type1 = true;
|
||||
if (obj.GetLayerValue() == 0)
|
||||
found_layer0 = true;
|
||||
if (obj.GetLayerValue() == 1)
|
||||
found_layer1 = true;
|
||||
if (obj.id_ < 0x100) found_type1 = true;
|
||||
if (obj.GetLayerValue() == 0) found_layer0 = true;
|
||||
if (obj.GetLayerValue() == 1) found_layer1 = true;
|
||||
}
|
||||
|
||||
EXPECT_TRUE(found_type1) << "Should have Type 1 objects";
|
||||
|
||||
Reference in New Issue
Block a user