Skip to content

Commit 080eba9

Browse files
committed
Fix block size test
1 parent c5dbfd0 commit 080eba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/trace_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func TestPadBlockValueMakesBlocksOfCorrectSize(t *testing.T) {
88
blockSizeBytes := 10
99
blockValue := "1234567"
1010
paddedBlockValue := padBlockValue(blockValue, blockSizeBytes)
11-
if len(paddedBlockValue) == blockSizeBytes {
11+
if len(paddedBlockValue) != blockSizeBytes {
1212
t.Errorf("padded block value is not of the correct size")
1313
}
1414
}

0 commit comments

Comments
 (0)