···394394(** Test pp_error produces meaningful content for each error variant. Check for
395395 key substrings (field names and values), not just non-empty output. *)
396396let test_pp_error () =
397397- let pp e = Format.asprintf "%a" Scc.Sync.pp_error e in
397397+ let pp e = Fmt.str "%a" Scc.Sync.pp_error e in
398398 (* Too_short: check exact expected message *)
399399 Alcotest.(check string) "Too_short" "data too short" (pp Scc.Sync.Too_short);
400400 (* Invalid_length: check it contains "invalid" and the numeric value *)