Skip to content

Commit 6290e33

Browse files
committed
fix tests
1 parent 85fe026 commit 6290e33

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015-2024, Benoit Chesneau <[email protected]>.
1+
Copyright (c) 2015-2025, Benoit Chesneau <[email protected]>.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

src/certifi.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application, certifi,
22
[{description, "CA bundle adapted from Mozilla by https://certifi.io"},
3-
{vsn, "2.13.0"},
3+
{vsn, "2.14.0"},
44
{registered, []},
55
{applications, [kernel,stdlib]},
66
{env,[]},

test/certifi_tests.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ reproducible_module_test() ->
1010

1111
cacerts_test_() ->
1212
Certs = [Cert1, Cert2, Cert3 | _] = certifi:cacerts(),
13-
[?_assertEqual(147, length(Certs))
14-
,?_assertMatch(<<48,130,5,179,48,130,3,155,160,3,2,1,2,2,16,33,156,84,45,232,_/binary>>, Cert1)
15-
,?_assertMatch(<<48,130,2,66,48,130,1,201,160,3,2,1,2,2,16,54,58,150,140,_/binary>>, Cert2)
16-
,?_assertMatch(<<48,130,5,108,48,130,3,84,160,3,2,1,2,2,20,84,22,191,59,_/binary>>, Cert3)
13+
[?_assertEqual(150, length(Certs))
14+
,?_assertMatch(<<48,130,5,169,48,130,3,145,160,3,2,1,2,2,16,105,38,9,126,128,_/binary>>, Cert1)
15+
,?_assertMatch(<<48,130,5,169,48,130,3,145,160,3,2,1,2,2,16,115,59,48,4,72,_/binary>>, Cert2)
16+
,?_assertMatch(<<48,130,2,35,48,130,1,169,160,3,2,1,2,2,20,22,21,199,195,216,_/binary>>, Cert3)
1717
,?_assertMatch(<<48,130,3,117,48,130,2,93,160,3,2,1,2,2,11,4,0,0,0,0,1,21,75,90,195,148,48,13,6,_/binary>>, lists:last(Certs))
1818
].

0 commit comments

Comments
 (0)