Fix typo in test which did introduce a failing test after ffc3b2da72
This commit is contained in:
parent
dd5d4887ed
commit
34fa8cbc3d
@ -39,7 +39,7 @@ public class Http2HeadersValidatorTest {
|
|||||||
@Test
|
@Test
|
||||||
public void validateConnectionSpecificHeadersShouldThrowIfConnectionHeaderPresent() throws Http2Exception {
|
public void validateConnectionSpecificHeadersShouldThrowIfConnectionHeaderPresent() throws Http2Exception {
|
||||||
expectedException.expect(StreamException.class);
|
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();
|
final Http2Headers headers = newHttp2HeadersWithRequestPseudoHeaders();
|
||||||
headers.add(CONNECTION, "keep-alive");
|
headers.add(CONNECTION, "keep-alive");
|
||||||
|
Loading…
Reference in New Issue
Block a user