Skip to content

Commit

Permalink
Fix not returning err from toSlice
Browse files Browse the repository at this point in the history
  • Loading branch information
robskillington committed Feb 8, 2021
1 parent 56f0235 commit 98f75e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbnode/storage/index/fields_terms_iterator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func toSlice(iter fieldsAndTermsIterator) ([]pair, error) {
Value: string(v),
})
}
return pairs, nil
return pairs, iter.Err()
}

func requireSlicesEqual(t *testing.T, a, b []pair) {
Expand Down

0 comments on commit 98f75e7

Please sign in to comment.