hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 35b798247e2baaeddc84bfba1c43b06fdaca79f8
parent 691c2ea97041829c12a9cb18993b7c93ab070e7d
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue, 22 Mar 2016 23:40:39 +0100

Check returned error in Scratch-test

Diffstat:
Mhugolib/scratch_test.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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}