Fixed errors and warnings with test results
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user