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

Commit

Permalink
Fix writeFile(buffer) test
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 16, 2010
1 parent b05daaa commit cf86527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/simple/test-fs-write-file.js
Expand Up @@ -31,7 +31,7 @@ filename2 = join(fixturesDir, 'test2.txt');
buf = new Buffer(s, 'utf8');
error('writing to ' + filename2);

fs.writeFile(filename2, s, function (e) {
fs.writeFile(filename2, buf, function (e) {
if (e) throw e;

ncallbacks++;
Expand Down

0 comments on commit cf86527

Please sign in to comment.