Replace godep with dep

This commit is contained in:
Manuel de Brito Fontes 2017-10-06 17:26:14 -03:00
parent 1e7489927c
commit bf5616c65b
14883 changed files with 3937406 additions and 361781 deletions

View 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")))
}