| 259 | } |
| 260 | |
| 261 | static String * tweakDateFromSummary(String * summary) { |
| 262 | Array * components = summary->componentsSeparatedByString(MCSTR("\n")); |
| 263 | mc_foreacharray(String, line, components) { |
| 264 | if (line->hasPrefix(MCSTR("Date:"))) { |
| 265 | line->replaceOccurrencesOfString(MCSTR(" at "), MCSTR(" ")); |
| 266 | } |
| 267 | } |
| 268 | return components->componentsJoinedByString(MCSTR("\n")); |
| 269 | } |
| 270 | |
| 271 | static void testSummary(String * path) |
| 272 | { |
no test coverage detected