Replace godep with dep
This commit is contained in:
parent
1e7489927c
commit
bf5616c65b
14883 changed files with 3937406 additions and 361781 deletions
11
vendor/github.com/zakjan/cert-chain-resolver/certUtil/io_test.go
generated
vendored
Normal file
11
vendor/github.com/zakjan/cert-chain-resolver/certUtil/io_test.go
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package certUtil
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestIsPEM(t *testing.T) {
|
||||
assert.True(t, IsPEM([]byte("-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----")))
|
||||
assert.False(t, IsPEM([]byte("xxx")))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue