Strip colors in blackbox tests

This commit is contained in:
Jeremie Dimino 2018-03-06 11:01:06 +00:00
parent 6eace337bc
commit f20b43a22b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ rule file = parse
| _ -> 255
in
List.iter (Io.lines_of_file temp_file) ~f:(fun line ->
Printf.bprintf buf " %s\n" line);
Printf.bprintf buf " %s\n" (Ansi_color.strip line));
if n <> 0 then Printf.bprintf buf " [%d]\n" n);
Buffer.contents buf)
}