1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-26 01:41:35 +01:00

Always run the tearDown() even if test is ignored

This commit is contained in:
jsalling
2016-12-05 21:21:03 -06:00
parent 0603c1cf1e
commit 65e401f3de
3 changed files with 6 additions and 2 deletions

View File

@@ -1275,7 +1275,7 @@ void UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int
setUp();
Func();
}
if (TEST_PROTECT() && !(Unity.CurrentTestIgnored))
if (TEST_PROTECT())
{
tearDown();
}