Address review comments

This commit is contained in:
Andrew Dunham 2015-04-15 16:28:13 -07:00
parent 430ff507f0
commit 5eed4d9667
19 changed files with 125 additions and 139 deletions

View file

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