1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

Merge pull request #458 from jlindgren90/verify-test

Make verifyTest() leave Ignores and Callbacks intact
This commit is contained in:
Mark VanderVoord
2019-10-29 13:31:47 -04:00
committed by GitHub
2 changed files with 3 additions and 5 deletions

View File

@@ -319,8 +319,6 @@ class UnityTestRunnerGenerator
output.puts("void #{@options[:test_verify_name]}(void)")
output.puts('{')
output.puts(' CMock_Verify();')
output.puts(' CMock_Destroy();')
output.puts(' CMock_Init();')
output.puts('}')
end

View File

@@ -346,7 +346,7 @@ void UnityPrintNumberByStyle(const UNITY_INT number, const UNITY_DISPLAY_STYLE_T
{
UnityPrintNumberUnsigned((UNITY_UINT)number);
}
else
else
{
UNITY_OUTPUT_CHAR('0');
UNITY_OUTPUT_CHAR('x');
@@ -464,7 +464,7 @@ void UnityPrintFloat(const UNITY_DOUBLE input_number)
UNITY_DOUBLE number = input_number;
/* print minus sign (including for negative zero) */
/* print minus sign (does not handle negative zero) */
if (number < 0.0f)
{
UNITY_OUTPUT_CHAR('-');
@@ -472,7 +472,7 @@ void UnityPrintFloat(const UNITY_DOUBLE input_number)
}
/* handle zero, NaN, and +/- infinity */
if (number == 0.0f)
if (number == 0.0f)
{
UnityPrint("0");
}