The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-fs-readfile-empty.js @ b0c0111b

History | View | Annotate | Download (1.5 KB)

# Date Author Comment
55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

0665f027 12/05/2010 06:41 PM Oleg Efimov

GJSLint all simple tests exclude http-*, url, path

a0159b4b 12/04/2010 06:58 PM Ryan Dahl

Fix global leaks

8ff79541 10/04/2010 03:50 PM isaacs

Fix #325. Add test and check for zero-length file contents in fs.readFileSync

af9aa93e 08/30/2010 05:08 PM Marco Rogers

fix for fs.readFile to return string when encoding specified on zero length read

9fd5e3c8 07/15/2010 05:21 PM Ryan Dahl

Update tests to work with module contexts

ba792ea2 06/23/2010 11:05 PM Ryan Dahl

:%s/sys.puts/console.log/g

and there was much rejoicing

97692637 05/13/2010 03:42 PM Elijah Insua

Handle empty files with fs.readFile