fix overshoot and optimize better

This commit is contained in:
Barak Michener 2014-08-06 03:20:33 -04:00
parent 09244ddd38
commit 24f57df859
4 changed files with 21 additions and 10 deletions

View file

@ -348,7 +348,7 @@ func TestQueries(t *testing.T) {
// TODO(kortschak) Be more rigorous in this result validation.
if len(got) != len(test.expect) {
t.Errorf("Unexpected number of results, got:%d expect:%d.", len(got), len(test.expect))
t.Errorf("Unexpected number of results, got:%d expect:%d on %s.", len(got), len(test.expect), test.message)
}
}
}