Mocking tests now passing after fixing param name.

This commit is contained in:
Jake Goodwin 2025-02-23 10:58:07 -08:00
parent 60b83865cd
commit c2ce883adb
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ TEST_GROUP(test_MockADC)
TEST(test_MockADC, ADC_InitExpects) TEST(test_MockADC, ADC_InitExpects)
{ {
mock().expectOneCall("ADC_Init") mock().expectOneCall("ADC_Init")
.withUnsignedIntParameter("pin_num", 7); .withUnsignedIntParameter("adc_chan", 7);
ADC_Init(7); ADC_Init(7);
} }