upstream: github.com/mirleft/ocaml-tls
0
fork

Configure Feed

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

fix: resolve merlint E600/E617 test convention issues

E600: Add 19 x509 test .mli files, move Alcotest.run out of
test_outgoing.ml and test_x509_eio.ml into test.ml runners,
trim test_comments.mli to export only suite.

E617: Rename suites to match filenames (module_alias, warning).

+9 -12
+2 -2
eio/tests/dune
··· 16 16 (package eio_main))) 17 17 18 18 (test 19 - (name test_x509_eio) 19 + (name test) 20 20 (package tls-eio) 21 - (modules test_x509_eio) 21 + (modules test test_x509_eio) 22 22 (libraries tls-eio alcotest))
+1
eio/tests/test.ml
··· 1 + let () = Alcotest.run "tls-eio" [ Test_x509_eio.suite ]
+6 -10
eio/tests/test_x509_eio.ml
··· 28 28 ignore (Tls_eio.epoch : Tls_eio.t -> (Tls.Core.epoch_data, unit) result); 29 29 ignore (Tls_eio.key_update : ?request:bool -> Tls_eio.t -> unit) 30 30 31 - let () = 32 - Alcotest.run "x509_eio" 31 + let suite = 32 + ( "x509_eio", 33 33 [ 34 - ( "x509_eio", 35 - [ 36 - Alcotest.test_case "module accessibility" `Quick 37 - test_module_accessibility; 38 - Alcotest.test_case "authenticator type" `Quick test_authenticator_type; 39 - Alcotest.test_case "tls_eio types" `Quick test_tls_eio_types; 40 - ] ); 41 - ] 34 + Alcotest.test_case "module accessibility" `Quick test_module_accessibility; 35 + Alcotest.test_case "authenticator type" `Quick test_authenticator_type; 36 + Alcotest.test_case "tls_eio types" `Quick test_tls_eio_types; 37 + ] )