mirror of https://github.com/tidwall/tile38.git
fixed test
This commit is contained in:
parent
53ceb4ee2e
commit
a5069d5fe8
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue