diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-08-10 21:05:17 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-08-12 13:26:32 +0200 |
commit | 9e571827055dedb46b78c5db3d17d6913f14870b (patch) | |
tree | f5f0108afe0c9385ff6dc27664943d9f719f57ad /transform | |
parent | 6027ee11082d0b9d72de1d4d1980a702be294ad2 (diff) | |
download | hugo-9e571827055dedb46b78c5db3d17d6913f14870b.tar.gz hugo-9e571827055dedb46b78c5db3d17d6913f14870b.zip |
tests: Convert from testify to quicktest
Diffstat (limited to 'transform')
-rw-r--r-- | transform/chain_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/transform/chain_test.go b/transform/chain_test.go index a8d59f902..af3ae61d6 100644 --- a/transform/chain_test.go +++ b/transform/chain_test.go @@ -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) } |