diff options
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) { |