mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-19 13:28:35 +08:00

The reason that TEST_ASSERT_xyz_WITHIN_MESSAGE() family of functions doesn't print any message is because is calling a re-use macro from the TEST_ASSERT_xyz_WITHIN() family of functions. Due this two functions in unity.h calls the same function from unity_internals.h, the message is nullified at this point. The issue is fix by passing _message_ arg to the 4th argument of *UnityAssertNumbersWithin()* function.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@118 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
Description
Simple Unit Testing for C
Languages
C
65.5%
Ruby
17.3%
C++
12.6%
Python
1.7%
Makefile
1.6%
Other
1.3%