Skip to content

Commit

Permalink
Update stat_mock.md
Browse files Browse the repository at this point in the history
Hi Arseniy,
I think that the name of declarator should be Os_Sleep instead of Os_Wait.
  • Loading branch information
hananyasegal authored and are-scenic committed Feb 23, 2021
1 parent 29b7ba8 commit 2485705
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/stat_mock.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ static void Test_TestSomething(void)
{
...
// The loop within CUT will cycle trice and then will exit
STAT_ADD_EMPTY_MOCK(Os_Wait);
STAT_ADD_EMPTY_MOCK(Os_Wait);
STAT_ADD_CALLBACK_MOCK(Os_Wait, Test_SetDone);
STAT_ADD_EMPTY_MOCK(Os_Sleep);
STAT_ADD_EMPTY_MOCK(Os_Sleep);
STAT_ADD_CALLBACK_MOCK(Os_Sleep, Test_SetDone);
...
Cut_DoSomething(...); // Calls DOC API
...
Expand Down

0 comments on commit 2485705

Please sign in to comment.