summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-max-concurrent-streams.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-max-concurrent-streams.js')
-rw-r--r--test/parallel/test-http2-max-concurrent-streams.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-max-concurrent-streams.js b/test/parallel/test-http2-max-concurrent-streams.js
index ffc04e98f1..b270d6cc6a 100644
--- a/test/parallel/test-http2-max-concurrent-streams.js
+++ b/test/parallel/test-http2-max-concurrent-streams.js
@@ -50,7 +50,7 @@ server.listen(0, common.mustCall(() => {
req.on('error', common.expectsError({
code: 'ERR_HTTP2_STREAM_ERROR',
type: Error,
- message: 'Stream closed with error code 7'
+ message: 'Stream closed with error code NGHTTP2_REFUSED_STREAM'
}));
}
}));