Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d88c697

Browse files
d4vsancheztargos
authored andcommittedJul 2, 2019
test: refactoring test, reordering arguments
Refactors the test-buffer-inheritance.js test, switches the order of the arguments to be: 'actual', 'expected' PR-URL: #28343 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e63990e commit d88c697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/parallel/test-buffer-inheritance.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ vals.forEach(function(t) {
3232
let cntr = 0;
3333
for (let i = 0; i < t.length; i++)
3434
cntr += t[i];
35-
assert.strictEqual(t.length * 5, cntr);
35+
assert.strictEqual(cntr, t.length * 5);
3636

3737
// Check this does not throw
3838
t.toString();

0 commit comments

Comments
 (0)
Please sign in to comment.