File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package crl
2
2
3
3
import (
4
4
"crypto/x509"
5
- "io/ioutil "
5
+ "os "
6
6
"testing"
7
7
)
8
8
@@ -16,17 +16,17 @@ const (
16
16
17
17
func TestNewCRLFromFile (t * testing.T ) {
18
18
19
- tryTwoKeyBytes , err := ioutil .ReadFile (tryTwoKey )
19
+ tryTwoKeyBytes , err := os .ReadFile (tryTwoKey )
20
20
if err != nil {
21
21
t .Fatal (err )
22
22
}
23
23
24
- tryTwoCertBytes , err := ioutil .ReadFile (tryTwoCert )
24
+ tryTwoCertBytes , err := os .ReadFile (tryTwoCert )
25
25
if err != nil {
26
26
t .Fatal (err )
27
27
}
28
28
29
- serialListBytes , err := ioutil .ReadFile (serialList )
29
+ serialListBytes , err := os .ReadFile (serialList )
30
30
if err != nil {
31
31
t .Fatal (err )
32
32
}
@@ -49,12 +49,12 @@ func TestNewCRLFromFile(t *testing.T) {
49
49
}
50
50
51
51
func TestNewCRLFromFileWithoutRevocations (t * testing.T ) {
52
- tryTwoKeyBytes , err := ioutil .ReadFile (tryTwoKey )
52
+ tryTwoKeyBytes , err := os .ReadFile (tryTwoKey )
53
53
if err != nil {
54
54
t .Fatal (err )
55
55
}
56
56
57
- tryTwoCertBytes , err := ioutil .ReadFile (tryTwoCert )
57
+ tryTwoCertBytes , err := os .ReadFile (tryTwoCert )
58
58
if err != nil {
59
59
t .Fatal (err )
60
60
}
You can’t perform that action at this time.
0 commit comments