fixed test

This commit is contained in:
Josh Baker 2016-07-12 23:03:52 -06:00
parent 53ceb4ee2e
commit a5069d5fe8
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func TestCollection(t *testing.T) {
if count != len(objs) { if count != len(objs) {
t.Fatalf("count = %d, expect %d", count, len(objs)) t.Fatalf("count = %d, expect %d", count, len(objs))
} }
count = c.Count(TypeAll) count = c.Count()
if count != len(objs) { if count != len(objs) {
t.Fatalf("c.Count() = %d, expect %d", count, len(objs)) t.Fatalf("c.Count() = %d, expect %d", count, len(objs))
} }