From bec15ee583538619f128fa811890bb5091f7ca7c Mon Sep 17 00:00:00 2001 From: caojiajun Date: Thu, 9 Jan 2025 20:35:41 +0800 Subject: [PATCH] test: fix (#364) --- .../nim/camellia/redis/proxy/test/StringValueCodecTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camellia-redis-proxy/camellia-redis-proxy-core/src/test/java/com/netease/nim/camellia/redis/proxy/test/StringValueCodecTest.java b/camellia-redis-proxy/camellia-redis-proxy-core/src/test/java/com/netease/nim/camellia/redis/proxy/test/StringValueCodecTest.java index 26cc9b93e..f569e4fe6 100644 --- a/camellia-redis-proxy/camellia-redis-proxy-core/src/test/java/com/netease/nim/camellia/redis/proxy/test/StringValueCodecTest.java +++ b/camellia-redis-proxy/camellia-redis-proxy-core/src/test/java/com/netease/nim/camellia/redis/proxy/test/StringValueCodecTest.java @@ -44,7 +44,7 @@ public void test() throws IOException { Assert.assertEquals(blockInfos.size(), 1); BlockInfo blockInfo = blockInfos.getFirst(); - List list = StringValueCodec.decode(blockInfo.data(), blockType); + List list = StringValueCodec.decode(blockInfo.data(), blockType).values(); Assert.assertEquals(list.size(), values.size()); @@ -77,7 +77,7 @@ public void test2() throws IOException { List result = new ArrayList<>(); for (BlockInfo blockInfo : blockInfos) { - List list = StringValueCodec.decode(blockInfo.data(), blockType); + List list = StringValueCodec.decode(blockInfo.data(), blockType).values(); result.addAll(list); }