Skip to content

Commit 3b5bca1

Browse files
committed
Fix #15, Only inline empty functions
1 parent b6deac6 commit 3b5bca1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

unit-test/coveragetest/coveragetest_sample_lib.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ void Test_SAMPLE_Function(void)
166166
/*
167167
* Setup function prior to every test
168168
*/
169-
void Sample_UT_Setup(void) { UT_ResetState(0); }
169+
void Sample_UT_Setup(void)
170+
{
171+
UT_ResetState(0);
172+
}
170173

171174
/*
172175
* Teardown function after every test

ut-stubs/sample_lib_stubs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,7 @@ int32 SAMPLE_LibInit(void)
7171
/* Sample Lib function stub */
7272
/* */
7373
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
74-
int32 SAMPLE_Function(void) { return UT_DEFAULT_IMPL(SAMPLE_Function); } /* End SAMPLE_Function */
74+
int32 SAMPLE_Function(void)
75+
{
76+
return UT_DEFAULT_IMPL(SAMPLE_Function);
77+
} /* End SAMPLE_Function */

0 commit comments

Comments
 (0)