Cmdliner terms for ergonomic logging configuration
0
fork

Configure Feed

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

fix: add noop test cases to empty test suites

Alcotest requires at least one test case per suite. Replace empty lists
with a single noop test case to satisfy this constraint.

+2 -2
+1 -1
test/test_cli.ml
··· 24 24 Log.debug (fun m -> m "debug message"); 25 25 Trace.debug (fun m -> m "trace message") 26 26 27 - let suite = ("cli", []) 27 + let suite = ("cli", [ Alcotest.test_case "noop" `Quick ignore ]) 28 28 29 29 let cmd = 30 30 let doc = "Test CLI for vlog" in
+1 -1
test/test_cli_no_json.ml
··· 16 16 Log.warn (fun m -> m "warning message"); 17 17 Log.info (fun m -> m "info message") 18 18 19 - let suite = ("cli_no_json", []) 19 + let suite = ("cli_no_json", [ Alcotest.test_case "noop" `Quick ignore ]) 20 20 21 21 let cmd = 22 22 let doc = "Test CLI for vlog with JSON disabled" in