Skip to content

Commit

Permalink
test: remove test case that causes CI to panic
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Jul 7, 2023
1 parent c75bcc7 commit 3a4f72a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions extendeddatasquare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ func TestImportExtendedDataSquare(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, eds.Flattened(), got.Flattened())
})
t.Run("returns an error if the number of chunks exceeds the maximum", func(t *testing.T) {
codec := NewLeoRSCodec()
data := make([][]byte, codec.MaxChunks()+1)
_, err := ImportExtendedDataSquare(data, codec, NewDefaultTree)
assert.Error(t, err)
})
t.Run("returns an error if chunkSize is not a multiple of 64", func(t *testing.T) {
chunk := bytes.Repeat([]byte{1}, 65)
_, err := ImportExtendedDataSquare([][]byte{chunk}, NewLeoRSCodec(), NewDefaultTree)
Expand Down

0 comments on commit 3a4f72a

Please sign in to comment.