CCSDS Command Link Control Word (CLCW) for spacecraft command
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): use Fmt instead of Printf/Format in tests

Replace Printf.sprintf with Fmt.str, Format.asprintf with Fmt.str,
Format.fprintf with Fmt.pf, and Format.formatter_of_buffer patterns
with Fmt.str "%a" across all test files.

+2 -2
+2 -2
test/test_clcw.ml
··· 76 76 | Error e -> Alcotest.failf "decode cop=%d failed: %a" cop Clcw.pp_error e 77 77 | Ok t' -> 78 78 Alcotest.(check int) 79 - (Printf.sprintf "cop_in_effect=%d" cop) 79 + (Fmt.str "cop_in_effect=%d" cop) 80 80 cop t'.cop_in_effect) 81 81 [ 0; 1; 2; 3 ] 82 82 ··· 135 135 Alcotest.failf "decode farm_b=%d failed: %a" fb Clcw.pp_error e 136 136 | Ok t' -> 137 137 Alcotest.(check int) 138 - (Printf.sprintf "farm_b_counter=%d" fb) 138 + (Fmt.str "farm_b_counter=%d" fb) 139 139 fb t'.farm_b_counter) 140 140 [ 0; 1; 2; 3 ] 141 141