tally: don't add extra bucket unless buckets == 0
[ccan] / ccan / tally / test / run-renormalize.c
index 5ec8b6780d41fa988e910a8001edaf1346306e07..7c141528d236b82335edf4923fd7117f252059f3 100644 (file)
@@ -3,7 +3,7 @@
 
 int main(void)
 {
-       struct tally *tally = tally_new(1);
+       struct tally *tally = tally_new(2);
 
        plan_tests(4);
        tally->min = 0;