mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-05-05 17:04:25 -04:00
Compare commits
No commits in common. "aba4c796251770f94957f2f7e994cc636a95f3a8" and "bc9f361e56d5acbc8fa8d4d5a864ddf583f495c5" have entirely different histories.
aba4c79625
...
bc9f361e56
2 changed files with 2 additions and 8 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue