Clean up a little lint and some shadowed variables
This commit is contained in:
parent
969aa1a6c3
commit
67673b31f4
8 changed files with 26 additions and 20 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue