| 107 | /* Local helper function to print ANSI escape strings e.g. "\033[42m". */ |
| 108 | #ifdef UNITY_OUTPUT_COLOR |
| 109 | static UNITY_UINT UnityPrintAnsiEscapeString(const char* string) |
| 110 | { |
| 111 | const char* pch = string; |
| 112 | UNITY_UINT count = 0; |
| 113 | |
| 114 | while (*pch && (*pch != 'm')) |
| 115 | { |
| 116 | UNITY_OUTPUT_CHAR(*pch); |
| 117 | pch++; |
| 118 | count++; |
| 119 | } |
| 120 | UNITY_OUTPUT_CHAR('m'); |
| 121 | count++; |
| 122 | |
| 123 | return count; |
| 124 | } |
| 125 | #endif |
| 126 | |
| 127 | /*-----------------------------------------------*/ |
no outgoing calls
no test coverage detected