Skip to content

Commit e3457a8

Browse files
committed
Fix temperamental test in core test suite.
1 parent b512a1c commit e3457a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tests/test_unity_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,9 @@ void testFailureCountIncrementsAndIsReturnedAtEnd(void)
296296
Unity.CurrentTestFailed = 1;
297297
startPutcharSpy(); /* Suppress output */
298298
startFlushSpy();
299-
TEST_ASSERT_EQUAL(0, getFlushSpyCalls());
300299
UnityConcludeTest();
301300
endPutcharSpy();
301+
TEST_ASSERT_EQUAL(0, getFlushSpyCalls());
302302
TEST_ASSERT_EQUAL(savedFailures + 1, Unity.TestFailures);
303303
#if defined(UNITY_OUTPUT_FLUSH) && defined(UNITY_OUTPUT_FLUSH_HEADER_DECLARATION)
304304
TEST_ASSERT_EQUAL(1, getFlushSpyCalls());

0 commit comments

Comments
 (0)