We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b4a5e0 commit df59570Copy full SHA for df59570
test/certifi_tests.erl
@@ -12,8 +12,11 @@ reproducible_module_test() ->
12
-endif.
13
14
cacerts_test_() ->
15
+ %% Checking the contents is difficult because they change frequently.
16
+ %% Therefore, this test only checks the number and type of certificates.
17
Certs = certifi:cacerts(),
18
[?_assertEqual(?NUM_OF_CERTS, length(Certs))
19
+ ,?_assert(lists:all(fun is_binary/1, Certs))
20
].
21
22
cacerts_test_data_test_() ->
0 commit comments