diff --git a/pkg/website/chunk_test.go b/pkg/website/chunk_test.go index 356f167..c9f39b9 100644 --- a/pkg/website/chunk_test.go +++ b/pkg/website/chunk_test.go @@ -30,9 +30,9 @@ func TestChunk(t *testing.T) { return } - // expectedLen := (len(test.data) + test.chunkSize - 1) / test.chunkSize + expectedLen := (len(test.data) + test.chunkSize - 1) / test.chunkSize - assert.Equal(t, len(chunks), 1) + assert.Equal(t, len(chunks), expectedLen) }) } }