Browse Source

test: fix readfile-zero-byte-liar test

PR-URL: https://github.com/iojs/io.js/pull/1074
Reviewed-By: Bert Belder <bertbelder@gmail.com>
v1.8.0-commit
Santiago Gimeno 10 years ago
committed by Bert Belder
parent
commit
0782c24993
  1. 2
      test/parallel/test-fs-readfile-zero-byte-liar.js

2
test/parallel/test-fs-readfile-zero-byte-liar.js

@ -17,7 +17,7 @@ fs.fstat = function(fd, cb) {
}; };
fs.fstatSync = function(fd) { fs.fstatSync = function(fd) {
var st = fs._fstatSync; var st = fs._fstatSync(fd);
st.size = 0; st.size = 0;
return st; return st;
}; };

Loading…
Cancel
Save