Skip to content

Commit 56940f4

Browse files
committed
blocks as well, why not
1 parent ce9b2f3 commit 56940f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/parallel/test-fs-stat.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,12 @@ fs.stat(__filename, common.mustCall(function(err, s) {
109109
const keys = [
110110
'dev', 'mode', 'nlink', 'uid',
111111
'gid', 'rdev', 'ino',
112-
'size', 'blocks', 'atime', 'mtime',
112+
'size', 'atime', 'mtime',
113113
'ctime', 'birthtime'
114114
];
115+
if (!common.isWindows) {
116+
keys.push('blocks', 'blksize');
117+
}
115118
keys.forEach(function(k) {
116119
assert.ok(
117120
json[k] !== undefined && json[k] !== null,

0 commit comments

Comments
 (0)