Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash: assert.ifError()
  • Loading branch information
Trott committed Oct 18, 2016
commit 6ddddb71969780d38f1342809f354a78d3898726
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