Address review comments
This commit is contained in:
parent
430ff507f0
commit
5eed4d9667
19 changed files with 125 additions and 139 deletions
|
|
@ -45,8 +45,8 @@ func TestNotIteratorBasics(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestNotIteratorErr(t *testing.T) {
|
||||
retErr := errors.New("unique")
|
||||
allIt := newTestIterator(false, retErr)
|
||||
wantErr := errors.New("unique")
|
||||
allIt := newTestIterator(false, wantErr)
|
||||
|
||||
toComplementIt := NewFixed(Identity)
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ func TestNotIteratorErr(t *testing.T) {
|
|||
if not.Next() != false {
|
||||
t.Errorf("Not iterator did not pass through initial 'false'")
|
||||
}
|
||||
if not.Err() != retErr {
|
||||
if not.Err() != wantErr {
|
||||
t.Errorf("Not iterator did not pass through underlying Err")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue