summaryrefslogtreecommitdiff
path: root/test/parallel/test-buffer-inheritance.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-buffer-inheritance.js')
-rw-r--r--test/parallel/test-buffer-inheritance.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-buffer-inheritance.js b/test/parallel/test-buffer-inheritance.js
index 0798fe4a17..4794f56717 100644
--- a/test/parallel/test-buffer-inheritance.js
+++ b/test/parallel/test-buffer-inheritance.js
@@ -32,7 +32,7 @@ vals.forEach(function(t) {
let cntr = 0;
for (let i = 0; i < t.length; i++)
cntr += t[i];
- assert.strictEqual(t.length * 5, cntr);
+ assert.strictEqual(cntr, t.length * 5);
// Check this does not throw
t.toString();