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/site_stats_test.go | |
parent | 6027ee11082d0b9d72de1d4d1980a702be294ad2 (diff) |
tests: Convert from testify to quicktest
Diffstat (limited to 'hugolib/site_stats_test.go')
-rw-r--r-- | hugolib/site_stats_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/site_stats_test.go b/hugolib/site_stats_test.go index bbefc9577..9c7bb240d 100644 --- a/hugolib/site_stats_test.go +++ b/hugolib/site_stats_test.go @@ -21,13 +21,13 @@ import ( "github.com/gohugoio/hugo/helpers" - "github.com/stretchr/testify/require" + qt "github.com/frankban/quicktest" ) func TestSiteStats(t *testing.T) { t.Parallel() - assert := require.New(t) + c := qt.New(t) siteConfig := ` baseURL = "http://example.com/blog" @@ -93,6 +93,6 @@ aliases: [/Ali%d] helpers.ProcessingStatsTable(&buff, stats...) - assert.Contains(buff.String(), "Pages | 19 | 6") + c.Assert(buff.String(), qt.Contains, "Pages | 19 | 6") } |