mirror of
https://github.com/esphome/esphome.git
synced 2026-10-22 05:46:12 +00:00
[packet_interface] Fix clang-tidy findings in tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0d904fc47e
commit
d3ed52cc47
@@ -163,7 +163,9 @@ class AddressingReliabilityTest : public ::testing::Test {
|
||||
protected:
|
||||
void SetUp() override {
|
||||
new (&App) Application;
|
||||
App.pre_setup("addressing-tests", 16, "", 0);
|
||||
static char name[] = "addressing-tests";
|
||||
static char friendly_name[] = "";
|
||||
App.pre_setup(name, sizeof(name) - 1, friendly_name, 0);
|
||||
}
|
||||
void TearDown() override { App.~Application(); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user