summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-client-onconnect-errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-client-onconnect-errors.js')
-rw-r--r--test/parallel/test-http2-client-onconnect-errors.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-client-onconnect-errors.js b/test/parallel/test-http2-client-onconnect-errors.js
index 5c08478784..b00c050724 100644
--- a/test/parallel/test-http2-client-onconnect-errors.js
+++ b/test/parallel/test-http2-client-onconnect-errors.js
@@ -55,7 +55,7 @@ const genericTests = Object.getOwnPropertyNames(constants)
error: {
code: 'ERR_HTTP2_ERROR',
type: NghttpError,
- name: 'Error [ERR_HTTP2_ERROR]',
+ name: 'Error',
message: nghttp2ErrorString(constants[key])
},
type: 'session'