(ch chan blob.SizedRef, list string, size uint32)
| 59 | } |
| 60 | |
| 61 | func sendTestBlobs(ch chan blob.SizedRef, list string, size uint32) { |
| 62 | defer close(ch) |
| 63 | if list == "" { |
| 64 | return |
| 65 | } |
| 66 | for _, br := range strings.Split(list, ",") { |
| 67 | ch <- blob.SizedRef{Ref: blob.MustParse(br), Size: size} |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | func TestListMissingDestinationBlobs(t *testing.T) { |
| 72 | tests := []lmdbTest{ |