Mocking tests now passing after fixing param name.
This commit is contained in:
		
							parent
							
								
									60b83865cd
								
							
						
					
					
						commit
						c2ce883adb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -30,7 +30,7 @@ TEST_GROUP(test_MockADC)
 | 
			
		|||
TEST(test_MockADC, ADC_InitExpects)
 | 
			
		||||
{
 | 
			
		||||
    mock().expectOneCall("ADC_Init")
 | 
			
		||||
        .withUnsignedIntParameter("pin_num", 7);
 | 
			
		||||
        .withUnsignedIntParameter("adc_chan", 7);
 | 
			
		||||
 | 
			
		||||
    ADC_Init(7);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue