Skip to content

Commit

Permalink
Fix temperamental test in core test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandervoord committed Mar 10, 2024
1 parent b512a1c commit e3457a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/test_unity_core.c
Expand Up @@ -296,9 +296,9 @@ void testFailureCountIncrementsAndIsReturnedAtEnd(void)
Unity.CurrentTestFailed = 1;
startPutcharSpy(); /* Suppress output */
startFlushSpy();
TEST_ASSERT_EQUAL(0, getFlushSpyCalls());
UnityConcludeTest();
endPutcharSpy();
TEST_ASSERT_EQUAL(0, getFlushSpyCalls());
TEST_ASSERT_EQUAL(savedFailures + 1, Unity.TestFailures);
#if defined(UNITY_OUTPUT_FLUSH) && defined(UNITY_OUTPUT_FLUSH_HEADER_DECLARATION)
TEST_ASSERT_EQUAL(1, getFlushSpyCalls());
Expand Down

0 comments on commit e3457a8

Please sign in to comment.