summaryrefslogtreecommitdiffstats
path: root/common/maps/maps_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-10 21:05:17 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-12 13:26:32 +0200
commit9e571827055dedb46b78c5db3d17d6913f14870b (patch)
treef5f0108afe0c9385ff6dc27664943d9f719f57ad /common/maps/maps_test.go
parent6027ee11082d0b9d72de1d4d1980a702be294ad2 (diff)
tests: Convert from testify to quicktest
Diffstat (limited to 'common/maps/maps_test.go')
-rw-r--r--common/maps/maps_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/maps/maps_test.go b/common/maps/maps_test.go
index 29bffa6bc..8b0aa5eb9 100644
--- a/common/maps/maps_test.go
+++ b/common/maps/maps_test.go
@@ -17,7 +17,7 @@ import (
"reflect"
"testing"
- "github.com/stretchr/testify/require"
+ qt "github.com/frankban/quicktest"
)
func TestToLower(t *testing.T) {
@@ -74,7 +74,7 @@ func TestToLower(t *testing.T) {
}
func TestRenameKeys(t *testing.T) {
- assert := require.New(t)
+ c := qt.New(t)
m := map[string]interface{}{
"a": 32,
@@ -112,7 +112,7 @@ func TestRenameKeys(t *testing.T) {
"{ren1,sub/*/ren1}", "new1",
"{Ren2,sub/ren2}", "new2",
)
- assert.NoError(err)
+ c.Assert(err, qt.IsNil)
renamer.Rename(m)