Check returned error in Scratch-test

This commit is contained in:
Bjørn Erik Pedersen 2016-03-22 23:40:39 +01:00
parent 691c2ea970
commit 35b798247e

View file

@ -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}