Skip to content

Commit 0782c24

Browse files
santigimenopiscisaureus
authored andcommitted
test: fix readfile-zero-byte-liar test
PR-URL: #1074 Reviewed-By: Bert Belder <[email protected]>
1 parent e2c9040 commit 0782c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fs.fstat = function(fd, cb) {
1717
};
1818

1919
fs.fstatSync = function(fd) {
20-
var st = fs._fstatSync;
20+
var st = fs._fstatSync(fd);
2121
st.size = 0;
2222
return st;
2323
};

0 commit comments

Comments
 (0)