diff --git a/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2HeadersValidatorTest.java b/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2HeadersValidatorTest.java index 3f323a6ef0..23f29c9f2d 100644 --- a/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2HeadersValidatorTest.java +++ b/codec-http2/src/test/java/io/netty/handler/codec/http2/Http2HeadersValidatorTest.java @@ -39,7 +39,7 @@ public class Http2HeadersValidatorTest { @Test public void validateConnectionSpecificHeadersShouldThrowIfConnectionHeaderPresent() throws Http2Exception { expectedException.expect(StreamException.class); - expectedException.expectMessage("Connection-speficic headers like [connection] must not be used with HTTP"); + expectedException.expectMessage("Connection-specific headers like [connection] must not be used with HTTP"); final Http2Headers headers = newHttp2HeadersWithRequestPseudoHeaders(); headers.add(CONNECTION, "keep-alive");