diff options
Diffstat (limited to 'test/disabled/test-debug-brk-file.js')
-rw-r--r-- | test/disabled/test-debug-brk-file.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/disabled/test-debug-brk-file.js b/test/disabled/test-debug-brk-file.js index 4b5823f56a..ee20577ded 100644 --- a/test/disabled/test-debug-brk-file.js +++ b/test/disabled/test-debug-brk-file.js @@ -56,7 +56,7 @@ function debug_client_connect() { } if (msg.headers && Buffer.byteLength(tmpBuf) >= msg.contentLength) { try { - var b = Buffer(tmpBuf); + var b = Buffer.from(tmpBuf); var body = b.toString('utf8', 0, msg.contentLength); tmpBuf = b.toString('utf8', msg.contentLength, b.length); |