aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-too-many-headers.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-too-many-headers.js')
-rw-r--r--test/parallel/test-http2-too-many-headers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-too-many-headers.js b/test/parallel/test-http2-too-many-headers.js
index f05511cff6..9b57060be6 100644
--- a/test/parallel/test-http2-too-many-headers.js
+++ b/test/parallel/test-http2-too-many-headers.js
@@ -23,7 +23,7 @@ server.listen(0, common.mustCall(() => {
req.on('error', common.expectsError({
code: 'ERR_HTTP2_STREAM_ERROR',
type: Error,
- message: 'Stream closed with error code 11'
+ message: 'Stream closed with error code NGHTTP2_ENHANCE_YOUR_CALM'
}));
req.on('close', common.mustCall((code) => {
assert.strictEqual(code, NGHTTP2_ENHANCE_YOUR_CALM);