diff options
Diffstat (limited to 'hugolib/fileInfo_test.go')
-rw-r--r-- | hugolib/fileInfo_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/fileInfo_test.go b/hugolib/fileInfo_test.go index c51ff5033..d8a70e9d3 100644 --- a/hugolib/fileInfo_test.go +++ b/hugolib/fileInfo_test.go @@ -16,16 +16,16 @@ package hugolib import ( "testing" + qt "github.com/frankban/quicktest" "github.com/spf13/cast" - "github.com/stretchr/testify/require" ) func TestFileInfo(t *testing.T) { t.Run("String", func(t *testing.T) { t.Parallel() - assert := require.New(t) + c := qt.New(t) fi := &fileInfo{} _, err := cast.ToStringE(fi) - assert.NoError(err) + c.Assert(err, qt.IsNil) }) } |