summaryrefslogtreecommitdiff
path: root/test/parallel/test-buffer-copy.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-buffer-copy.js')
-rw-r--r--test/parallel/test-buffer-copy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-buffer-copy.js b/test/parallel/test-buffer-copy.js
index 0fb37cc0b4..1b10dadb5b 100644
--- a/test/parallel/test-buffer-copy.js
+++ b/test/parallel/test-buffer-copy.js
@@ -5,7 +5,7 @@ const assert = require('assert');
const b = Buffer.allocUnsafe(1024);
const c = Buffer.allocUnsafe(512);
-var cntr = 0;
+let cntr = 0;
{
// copy 512 bytes, from 0 to 512.