Clean up a little lint and some shadowed variables

This commit is contained in:
Barak Michener 2015-02-21 16:02:51 -05:00
parent 969aa1a6c3
commit 67673b31f4
8 changed files with 26 additions and 20 deletions

View file

@ -90,9 +90,9 @@ func TestShortCircuitingOrBasics(t *testing.T) {
or = NewShortCircuitOr()
or.AddSubIterator(f1)
or.AddSubIterator(f2)
v, exact := or.Size()
if v != 4 {
t.Errorf("Unexpected iterator size, got:%d expected %d", v, 4)
size, exact := or.Size()
if size != 4 {
t.Errorf("Unexpected iterator size, got:%d expected %d", size, 4)
}
if !exact {
t.Error("Size not exact.")