1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 18:24:27 +01:00

Merge pull request #245 from jsalling/feature/teardown-not-ignore

Always run the tearDown() even if test is ignored
This commit is contained in:
Mark VanderVoord
2017-01-13 15:43:26 -05:00
committed by GitHub
4 changed files with 8 additions and 4 deletions

View File

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