Skip to content

Commit

Permalink
fixup: make test less brittle
Browse files Browse the repository at this point in the history
  • Loading branch information
apapirovski committed Apr 27, 2018
1 parent 08fa98c commit 51adabe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/parallel/test-http2-client-rststream-before-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ const h2 = require('http2');
const server = h2.createServer();
server.on('stream', (stream) => {
stream.on('close', common.mustCall());
stream.on('error', common.expectsError({
code: 'ERR_HTTP2_STREAM_ERROR',
type: Error,
message: 'Stream closed with error code NGHTTP2_PROTOCOL_ERROR'
}));
stream.respond();
stream.end('ok');
});
Expand Down

0 comments on commit 51adabe

Please sign in to comment.