Fix typo in test which did introduce a failing test after ffc3b2da72

This commit is contained in:
Norman Maurer 2019-10-28 09:26:29 +01:00
parent ffc3b2da72
commit bf07592668

View File

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