Compare commits

..

No commits in common. "aba4c796251770f94957f2f7e994cc636a95f3a8" and "bc9f361e56d5acbc8fa8d4d5a864ddf583f495c5" have entirely different histories.

2 changed files with 2 additions and 8 deletions

View file

@ -398,10 +398,7 @@ let sprintf_ c format =
Format.kfprintf
(fun _fmt ->
Format.pp_print_flush fmt ();
let s = Buffer.contents buf in
Buffer.reset buf;
(* in case of reuse *)
s)
Buffer.contents buf)
fmt format
let with_color_ksf ~f s fmt =

View file

@ -410,7 +410,4 @@ q
;;
t @@ fun () -> "ab" < "abc";;
t @@ fun () -> "123" < "14";;
eq ~printer:Fun.id "a,b,c,d,e,f,g,"
(flat_map (CCFormat.sprintf "%c,") "abcdefg")
t @@ fun () -> "123" < "14"