diff options
Diffstat (limited to 'test/parallel/test-http2-shutdown-errors.js')
-rw-r--r-- | test/parallel/test-http2-shutdown-errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-shutdown-errors.js b/test/parallel/test-http2-shutdown-errors.js index 99ae791767..30bdb7a986 100644 --- a/test/parallel/test-http2-shutdown-errors.js +++ b/test/parallel/test-http2-shutdown-errors.js @@ -29,7 +29,7 @@ const tests = Object.getOwnPropertyNames(constants) let currentError; // mock submitGoaway because we only care about testing error handling -Http2Session.prototype.submitGoaway = () => currentError.ngError; +Http2Session.prototype.goaway = () => currentError.ngError; const server = http2.createServer(); server.on('stream', common.mustCall((stream, headers) => { |