Fix resource leak in test introduced by 69070c37ba
This commit is contained in:
parent
485f642047
commit
fb434de598
@ -78,7 +78,7 @@ public class HttpRequestDecoderTest {
|
||||
assertEquals(CONTENT_LENGTH, c.content().readableBytes());
|
||||
assertEquals(
|
||||
Unpooled.wrappedBuffer(content, content.length - CONTENT_LENGTH, CONTENT_LENGTH),
|
||||
c.content().readBytes(CONTENT_LENGTH));
|
||||
c.content().readSlice(CONTENT_LENGTH));
|
||||
c.release();
|
||||
|
||||
assertFalse(channel.finish());
|
||||
|
Loading…
Reference in New Issue
Block a user