Skip to content

Commit a218422

Browse files
committed
hotfix(file): cast dev to uint32
1 parent 11509a8 commit a218422

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/scripts/box/file.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ describe('File', () => {
7373
file.stat((err, fileStats) => {
7474
if (err) return callback(err);
7575

76+
//todo: cast dev to uint32 until https://github.com/nodejs/node/issues/16496 is resolved
77+
fileStats.dev = (new Uint32Array([fileStats.dev]))[0]
7678
fileStats.should.eql(fs.statSync(file.source));
7779
callback();
7880
});

0 commit comments

Comments
 (0)