From: Bjørn Erik Pedersen Date: Tue, 22 Mar 2016 22:40:39 +0000 (+0100) Subject: Check returned error in Scratch-test X-Git-Tag: v0.16~195 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=35b79824;p=brevno-suite%2Fhugo Check returned error in Scratch-test --- diff --git a/hugolib/scratch_test.go b/hugolib/scratch_test.go index 3632ec16..f81564c8 100644 --- a/hugolib/scratch_test.go +++ b/hugolib/scratch_test.go @@ -66,6 +66,8 @@ func TestScratchAddSlice(t *testing.T) { _, err = scratch.Add("intSlice", []int{4, 5}) + assert.Nil(t, err) + sl = scratch.Get("intSlice") expected = []int{1, 2, 3, 4, 5}