Skip to content

Commit f8b0d5d

Browse files
committed
test fix
1 parent 0dabf44 commit f8b0d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/pipeline_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ func TestConstructPartitionsWhenSizeIsZero(t *testing.T) {
6969
p := partitions[0]
7070
assert.Equal(t, 1, p.NumOfParts)
7171
assert.Equal(t, offSet*i, p.Offset)
72-
assert.Equal(t, 1, p.TotalNumOfParts)
72+
assert.Equal(t, 1, int(p.TotalNumOfParts))
7373
assert.Equal(t, size, p.TotalSize)
74-
assert.Equal(t, 0, p.PartitionSize)
74+
assert.Equal(t, 0, int(p.PartitionSize))
7575
assert.Equal(t, 1, len(p.Parts))
7676
calcSize = calcSize + p.PartitionSize
7777

0 commit comments

Comments
 (0)