From f20b43a22be9ee15572bc710a28c16512d988a48 Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Tue, 6 Mar 2018 11:01:06 +0000 Subject: [PATCH] Strip colors in blackbox tests --- test/blackbox-tests/cram.mll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/blackbox-tests/cram.mll b/test/blackbox-tests/cram.mll index de5a7f83..7d52ba96 100644 --- a/test/blackbox-tests/cram.mll +++ b/test/blackbox-tests/cram.mll @@ -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) }