diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-10 21:05:17 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-12 13:26:32 +0200 |
commit | 9e571827055dedb46b78c5db3d17d6913f14870b (patch) | |
tree | f5f0108afe0c9385ff6dc27664943d9f719f57ad /hugolib/page_unwrap_test.go | |
parent | 6027ee11082d0b9d72de1d4d1980a702be294ad2 (diff) |
tests: Convert from testify to quicktest
Diffstat (limited to 'hugolib/page_unwrap_test.go')
-rw-r--r-- | hugolib/page_unwrap_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/page_unwrap_test.go b/hugolib/page_unwrap_test.go index 23747dce8..20888166a 100644 --- a/hugolib/page_unwrap_test.go +++ b/hugolib/page_unwrap_test.go @@ -16,16 +16,16 @@ package hugolib import ( "testing" + qt "github.com/frankban/quicktest" "github.com/gohugoio/hugo/resources/page" - "github.com/stretchr/testify/require" ) func TestUnwrapPage(t *testing.T) { - assert := require.New(t) + c := qt.New(t) p := &pageState{} - assert.Equal(p, mustUnwrap(newPageForShortcode(p))) + c.Assert(mustUnwrap(newPageForShortcode(p)), qt.Equals, p) } func mustUnwrap(v interface{}) page.Page { |