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
add semicolon after assert.strictEqual()
  • Loading branch information
Jenna Vuong authored Oct 11, 2016
commit 393a059697fe6347110ae6229f2ba1d7514b536e
2 changes: 1 addition & 1 deletion test/parallel/test-file-read-noexist.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const fs = require('fs');
const filename = path.join(common.fixturesDir, 'does_not_exist.txt');
fs.readFile(filename, 'latin1', common.mustCall(function(err, content) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Can we add a line after assert.ok(err) like assert.strictEqual(err.code, 'ENOENT') or whatever the right error code is? I assume it will be the same across platform, but correction welcome.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

assert.ok(err);
assert.strictEqual(err.code, 'ENOENT')
assert.strictEqual(err.code, 'ENOENT');
}));