Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix writeFile(buffer) test

  • Loading branch information...
commit cf86527a28a9305bb8b2059362e89170e28a9cb2 1 parent b05daaa
@ry ry authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/simple/test-fs-write-file.js
View
2  test/simple/test-fs-write-file.js
@@ -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++;
Please sign in to comment.
Something went wrong with that request. Please try again.