Fix a compilation error

This commit is contained in:
Trustin Lee 2014-02-26 16:44:17 -08:00
parent 8ffa168ab8
commit 927e330cfe

View File

@ -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();