summaryrefslogtreecommitdiff
path: root/test/parallel/test-regress-GH-5051.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-regress-GH-5051.js')
-rw-r--r--test/parallel/test-regress-GH-5051.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-regress-GH-5051.js b/test/parallel/test-regress-GH-5051.js
index f2562bd7eb..6dcb849e24 100644
--- a/test/parallel/test-regress-GH-5051.js
+++ b/test/parallel/test-regress-GH-5051.js
@@ -5,7 +5,7 @@ const agent = require('http').globalAgent;
// small stub just so we can call addRequest directly
const req = {
- getHeader: function() {}
+ getHeader: common.noop
};
agent.maxSockets = 0;