Skip to content

Commit

Permalink
squash: assert.ifError()
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Oct 18, 2016
1 parent e53bad0 commit 6ddddb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-setproctitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ process.title = title;
assert.strictEqual(process.title, title);

exec(`ps -p ${process.pid} -o args=`, function callback(error, stdout, stderr) {
assert.strictEqual(error, null);
assert.ifError(error);
assert.strictEqual(stderr, '');

// freebsd always add ' (procname)' to the process title
Expand Down

0 comments on commit 6ddddb7

Please sign in to comment.