diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-09-16 19:04:09 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-09-16 19:04:09 -0700 |
commit | bbbcd1fee0a85fb21c6a3206760f4b24d545746e (patch) | |
tree | 327880c6dd620f5c48c1e38369a93259395c1089 /test/simple/test-fs-write-stream.js | |
parent | 6da0593162dbc861d32c83b38e083dbfd2df870d (diff) | |
download | node-new-bbbcd1fee0a85fb21c6a3206760f4b24d545746e.tar.gz |
Safe constructors for fs.ReadStream and fs.WriteStream
Diffstat (limited to 'test/simple/test-fs-write-stream.js')
-rw-r--r-- | test/simple/test-fs-write-stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/simple/test-fs-write-stream.js b/test/simple/test-fs-write-stream.js index 6679536f50..14ad62e0ba 100644 --- a/test/simple/test-fs-write-stream.js +++ b/test/simple/test-fs-write-stream.js @@ -7,7 +7,7 @@ var path = require('path'), var file = path.join(common.fixturesDir, "write.txt"); (function() { - var stream = fs.createWriteStream(file), + var stream = fs.WriteStream(file), _fs_close = fs.close; fs.close = function(fd) { |