提交 6a159419 编写于 作者: J John Van Enk 提交者: Alex Rodriguez

Use a better message and change the test name.

上级 d6779b76
......@@ -50,12 +50,15 @@ void tearDown(void)
}
}
void testBreadCrumbs(void)
void testUnitySizeInitializationReminder(void)
{
char * message = "Unexpected size for _Unity struct. Please check that "
"the initialization of the Unity symbol in unity.c is "
"still correct.";
/* This test ensures that sizeof(struct _Unity) doesn't change. If this
* test breaks, go look at the initialization of the Unity global variable
* in unity.c and make sure we're filling in the proper fields. */
TEST_ASSERT_EQUAL(104, sizeof(Unity));
TEST_ASSERT_EQUAL_MESSAGE(104, sizeof(Unity), message);
}
void testTrue(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册