Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
test: make test-fs-truncate pass on windows
  • Loading branch information
piscisaureus committed Aug 28, 2012
1 parent 4cfd64e commit 143e9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple/test-fs-truncate.js
Expand Up @@ -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);
Expand Down

0 comments on commit 143e9be

Please sign in to comment.