Browse Source

test: make test-fs-truncate pass on windows

v0.9.2-release
Bert Belder 13 years ago
parent
commit
143e9bef47
  1. 2
      test/simple/test-fs-truncate.js

2
test/simple/test-fs-truncate.js

@ -45,7 +45,7 @@ assert.equal(stat.size, 0);
// ftruncateSync
fs.writeFileSync(filename, data);
var fd = fs.openSync(filename, 'a');
var fd = fs.openSync(filename, 'r+');
stat = fs.statSync(filename);
assert.equal(stat.size, 1024 * 16);

Loading…
Cancel
Save