tests: Convert from testify to quicktest

This commit is contained in:
Bjørn Erik Pedersen 2019-08-10 21:05:17 +02:00
parent 6027ee1108
commit 9e57182705
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
195 changed files with 3919 additions and 3693 deletions

View file

@ -18,7 +18,7 @@ import (
"strings"
"testing"
"github.com/stretchr/testify/assert"
qt "github.com/frankban/quicktest"
)
func TestChainZeroTransformers(t *testing.T) {
@ -64,6 +64,7 @@ func TestChaingMultipleTransformers(t *testing.T) {
}
func TestNewEmptyTransforms(t *testing.T) {
c := qt.New(t)
transforms := NewEmpty()
assert.Equal(t, 20, cap(transforms))
c.Assert(cap(transforms), qt.Equals, 20)
}