Fix resource leak in test introduced by 69070c37ba
This commit is contained in:
parent
6e919f70f8
commit
4652223dec
@ -86,7 +86,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