Skip to content

Commit

Permalink
test: fix readfile-zero-byte-liar test
Browse files Browse the repository at this point in the history
PR-URL: #1074
Reviewed-By: Bert Belder <[email protected]>
  • Loading branch information
santigimeno authored and piscisaureus committed Mar 12, 2015
1 parent e2c9040 commit 0782c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-readfile-zero-byte-liar.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fs.fstat = function(fd, cb) {
};

fs.fstatSync = function(fd) {
var st = fs._fstatSync;
var st = fs._fstatSync(fd);
st.size = 0;
return st;
};
Expand Down

0 comments on commit 0782c24

Please sign in to comment.