Skip to content

Commit

Permalink
blocks as well, why not
Browse files Browse the repository at this point in the history
  • Loading branch information
sciolist committed Jun 2, 2017
1 parent 1eb7196 commit 61ff138
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/parallel/test-fs-stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,12 @@ fs.stat(__filename, common.mustCall(function(err, s) {
const keys = [
'dev', 'mode', 'nlink', 'uid',
'gid', 'rdev', 'ino',
'size', 'blocks', 'atime', 'mtime',
'size', 'atime', 'mtime',
'ctime', 'birthtime'
];
if (!common.isWindows) {
keys.push('blocks', 'blksize');
}
keys.forEach(function(k) {
assert.ok(
json[k] !== undefined && json[k] !== null,
Expand Down

0 comments on commit 61ff138

Please sign in to comment.