File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package crl
22
33import (
44 "crypto/x509"
5- "io/ioutil "
5+ "os "
66 "testing"
77)
88
@@ -16,17 +16,17 @@ const (
1616
1717func TestNewCRLFromFile (t * testing.T ) {
1818
19- tryTwoKeyBytes , err := ioutil .ReadFile (tryTwoKey )
19+ tryTwoKeyBytes , err := os .ReadFile (tryTwoKey )
2020 if err != nil {
2121 t .Fatal (err )
2222 }
2323
24- tryTwoCertBytes , err := ioutil .ReadFile (tryTwoCert )
24+ tryTwoCertBytes , err := os .ReadFile (tryTwoCert )
2525 if err != nil {
2626 t .Fatal (err )
2727 }
2828
29- serialListBytes , err := ioutil .ReadFile (serialList )
29+ serialListBytes , err := os .ReadFile (serialList )
3030 if err != nil {
3131 t .Fatal (err )
3232 }
@@ -49,12 +49,12 @@ func TestNewCRLFromFile(t *testing.T) {
4949}
5050
5151func TestNewCRLFromFileWithoutRevocations (t * testing.T ) {
52- tryTwoKeyBytes , err := ioutil .ReadFile (tryTwoKey )
52+ tryTwoKeyBytes , err := os .ReadFile (tryTwoKey )
5353 if err != nil {
5454 t .Fatal (err )
5555 }
5656
57- tryTwoCertBytes , err := ioutil .ReadFile (tryTwoCert )
57+ tryTwoCertBytes , err := os .ReadFile (tryTwoCert )
5858 if err != nil {
5959 t .Fatal (err )
6060 }
You can’t perform that action at this time.
0 commit comments