summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-compat-write-head-destroyed.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http2-compat-write-head-destroyed.js')
-rw-r--r--test/parallel/test-http2-compat-write-head-destroyed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-compat-write-head-destroyed.js b/test/parallel/test-http2-compat-write-head-destroyed.js
index 4576119ee7..842bf0e9ab 100644
--- a/test/parallel/test-http2-compat-write-head-destroyed.js
+++ b/test/parallel/test-http2-compat-write-head-destroyed.js
@@ -8,7 +8,7 @@ const http2 = require('http2');
// Check that writeHead, write and end do not crash in compatibility mode
const server = http2.createServer(common.mustCall((req, res) => {
- // destroy the stream first
+ // Destroy the stream first
req.stream.destroy();
res.writeHead(200);