Add more fs.write interfaces.

This commit is contained in:
Panu Horsmalahti
2015-09-09 13:15:35 +03:00
parent b3aeee6455
commit 45355cd1a5
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -34,6 +34,8 @@ assert.doesNotThrow(() => {
fs.writeFile("thebible.txt",
"Do unto others as you would have them do unto you.",
assert.ifError);
fs.write(1234, "test");
fs.writeFile("Harry Potter",
"\"You be wizzing, Harry,\" jived Dumbledore.",