mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
tests: Convert from testify to quicktest
This commit is contained in:
parent
6027ee1108
commit
9e57182705
195 changed files with 3919 additions and 3693 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue