Skip to content

Commit

Permalink
test: fix (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
caojiajun committed Jan 9, 2025
1 parent bc5bf94 commit bec15ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void test() throws IOException {
Assert.assertEquals(blockInfos.size(), 1);

BlockInfo blockInfo = blockInfos.getFirst();
List<byte[]> list = StringValueCodec.decode(blockInfo.data(), blockType);
List<byte[]> list = StringValueCodec.decode(blockInfo.data(), blockType).values();

Assert.assertEquals(list.size(), values.size());

Expand Down Expand Up @@ -77,7 +77,7 @@ public void test2() throws IOException {

List<byte[]> result = new ArrayList<>();
for (BlockInfo blockInfo : blockInfos) {
List<byte[]> list = StringValueCodec.decode(blockInfo.data(), blockType);
List<byte[]> list = StringValueCodec.decode(blockInfo.data(), blockType).values();
result.addAll(list);
}

Expand Down

0 comments on commit bec15ee

Please sign in to comment.