Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-10 22:05:17 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-12 14:26:32 +0300
commit9e571827055dedb46b78c5db3d17d6913f14870b (patch)
treef5f0108afe0c9385ff6dc27664943d9f719f57ad /transform
parent6027ee11082d0b9d72de1d4d1980a702be294ad2 (diff)
tests: Convert from testify to quicktest
Diffstat (limited to 'transform')
-rw-r--r--transform/chain_test.go5
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)
}