We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dabf44 commit f8b0d5dCopy full SHA for f8b0d5d
pipeline/pipeline_test.go
@@ -69,9 +69,9 @@ func TestConstructPartitionsWhenSizeIsZero(t *testing.T) {
69
p := partitions[0]
70
assert.Equal(t, 1, p.NumOfParts)
71
assert.Equal(t, offSet*i, p.Offset)
72
- assert.Equal(t, 1, p.TotalNumOfParts)
+ assert.Equal(t, 1, int(p.TotalNumOfParts))
73
assert.Equal(t, size, p.TotalSize)
74
- assert.Equal(t, 0, p.PartitionSize)
+ assert.Equal(t, 0, int(p.PartitionSize))
75
assert.Equal(t, 1, len(p.Parts))
76
calcSize = calcSize + p.PartitionSize
77
0 commit comments