Fix a compilation error
This commit is contained in:
parent
8ffa168ab8
commit
927e330cfe
@ -526,7 +526,7 @@ public class HttpResponseDecoderTest {
|
||||
assertThat(channel.readInbound(), is(instanceOf(HttpResponse.class)));
|
||||
|
||||
// Ensure that the decoder generates the last chunk with correct decoder result.
|
||||
LastHttpContent invalidChunk = channel.readInbound();
|
||||
LastHttpContent invalidChunk = (LastHttpContent) channel.readInbound();
|
||||
assertThat(invalidChunk.getDecoderResult().isFailure(), is(true));
|
||||
invalidChunk.release();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user