Fixed errors and warnings with test results
Some checks failed
CI / Format (push) Has been cancelled
CI / Test (Linux) (push) Has been cancelled
CI / Test (Windows MSVC) (push) Has been cancelled
CI / Clippy (push) Has been cancelled

This commit is contained in:
Eric Ratliff
2026-02-22 17:26:14 -06:00
parent e12608370a
commit 05f248577f
3 changed files with 4 additions and 3 deletions

View File

@@ -268,7 +268,7 @@ TEST_F(ButtonSimTest, DoubleReleaseSameState) {
TEST(ButtonPolymorphismTest, AllImplsWorkThroughBasePointer) {
mock_arduino_reset();
SimHal hal;
hal.setDigital(2, LOW); // pressed for active-low
hal.setPin(2, LOW); // pressed for active-low
ButtonDigital digital_btn(&hal, 2, true);
ButtonMock mock_btn;
@@ -286,4 +286,4 @@ TEST(ButtonPolymorphismTest, AllImplsWorkThroughBasePointer) {
EXPECT_TRUE(pressed);
(void)raw; // just verify it compiles and runs
}
}
}