• J
    Replace all hard-coded '\n' with UNITY_PRINT_EOL macro in fixture · d4353166
    jsalling 提交于
    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)
    d4353166
unity_fixture.c 8.6 KB