Skip to content

Commit

Permalink
check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
loderunner committed May 19, 2021
1 parent c55eae6 commit d9ff0ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion store/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ func TestSetList(t *testing.T) {
}

for i, k := range keys {
s.Set(k, vals[i])
err := s.Set(k, vals[i])
if err != nil {
t.Fatal(err)
}
}

res := s.List()
Expand Down

0 comments on commit d9ff0ff

Please sign in to comment.