From bf07592668da9150890184c0a9b346aa3b312a73 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 28 Oct 2019 09:26:29 +0100 Subject: [PATCH] Fix typo in test which did introduce a failing test after ffc3b2da72c09bb17fd1eb284e1b59bb4ed23b2a --- .../io/netty/handler/codec/http2/Http2HeadersValidatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");