test: fix assert argument order

PR-URL: https://github.com/nodejs/node/pull/24160
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Manish Poddar 2018-11-06 15:40:01 +00:00 committed by Rich Trott
parent 08bd8233be
commit 3ffc84a46d

View File

@ -60,8 +60,8 @@ const { spawn } = require('child_process');
}));
child.on('close', common.mustCall(function() {
assert.strictEqual(true, output.length > 1);
assert.strictEqual('\n', output[output.length - 1]);
assert.strictEqual(output.length > 1, true);
assert.strictEqual(output[output.length - 1], '\n');
}));
}