Move testdata/ to internal/

This commit is contained in:
Lucas Clemente
2017-08-03 18:46:34 +02:00
parent d0fde2b230
commit 8ec11c0b53
9 changed files with 10 additions and 10 deletions

View File

@@ -11,14 +11,14 @@ import (
"encoding/asn1"
"math/big"
"github.com/lucas-clemente/quic-go/testdata"
"github.com/lucas-clemente/quic-go/internal/testdata"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("Proof", func() {
It("gives valid signatures with the key in testdata", func() {
It("gives valid signatures with the key in internal/testdata", func() {
key := &testdata.GetTLSConfig().Certificates[0]
signature, err := signServerProof(key, []byte{'C', 'H', 'L', 'O'}, []byte{'S', 'C', 'F', 'G'})
Expect(err).ToNot(HaveOccurred())