mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25:58 +01:00
Fixed printability of largest negative value (Thanks SigmaPic!)
This commit is contained in:
@@ -218,7 +218,7 @@ void testNotEqualInt16s(void)
|
||||
void testNotEqualInt32s(void)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_EQUAL_INT32(-2147483647, -2147483646);
|
||||
TEST_ASSERT_EQUAL_INT32(-2147483647, -2147483648); //use largest 32 bit negative to test printability
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user