Skip to content

Commit

Permalink
hotfix(file): cast dev to uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Oct 27, 2017
1 parent 11509a8 commit a218422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/scripts/box/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ describe('File', () => {
file.stat((err, fileStats) => {
if (err) return callback(err);

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

0 comments on commit a218422

Please sign in to comment.