Replace all hard-coded '\n' with UNITY_PRINT_EOL macro in fixture
Delete the { ;} braces and semicolon from UNITY_PRINT_EOL to give it expected behavior: 1) requires a semicolon 2) works in one-liner if-else statements If you need "\r\n" for EOL, define as the following to get the same behavior: do{UNITY_OUTPUT_CHAR('\r'); UNITY_OUTPUT_CHAR('\n');}while(0)
Showing
想要评论请 注册 或 登录