Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #15, Apply standard style #23

Merged
merged 2 commits into from
May 28, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix #15, Only inline empty functions
  • Loading branch information
skliper committed May 23, 2020
commit 3b5bca17440cd668dfd84d14f128e398bfbd8c4f
5 changes: 4 additions & 1 deletion unit-test/coveragetest/coveragetest_sample_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ void Test_SAMPLE_Function(void)
/*
* Setup function prior to every test
*/
void Sample_UT_Setup(void) { UT_ResetState(0); }
void Sample_UT_Setup(void)
{
UT_ResetState(0);
}

/*
* Teardown function after every test
Expand Down
5 changes: 4 additions & 1 deletion ut-stubs/sample_lib_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@ int32 SAMPLE_LibInit(void)
/* Sample Lib function stub */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 SAMPLE_Function(void) { return UT_DEFAULT_IMPL(SAMPLE_Function); } /* End SAMPLE_Function */
int32 SAMPLE_Function(void)
{
return UT_DEFAULT_IMPL(SAMPLE_Function);
} /* End SAMPLE_Function */