Sitelet https://github.com/nodejs/node/pull/11622/commits/d7d0ce7cd4d6b438ca280891e59bdb6d15107005
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
Next Next commit
test: update the call of the function common.expectsError
  • Loading branch information
clarenced committed Mar 5, 2017
commit d7d0ce7cd4d6b438ca280891e59bdb6d15107005
2 changes: 1 addition & 1 deletion test/parallel/test-fs-realpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function test_cyclic_link_protection(callback) {
});
assert.throws(() => {
fs.realpathSync(entry);
}, common.expectsError('ELOOP', Error));
}, common.expectsError({ code: 'ELOOP', type: Error }));
asynctest(
fs.realpath, [entry], callback, common.mustCall(function(err, result) {
assert.ok(err.path === entry);
Expand Down