@@ -22,7 +22,7 @@ function check(async, sync) {
2222
2323check ( fs . access , fs . accessSync , 'foo\u0000bar' ) ;
2424check ( fs . access , fs . accessSync , 'foo\u0000bar' , fs . F_OK ) ;
25- check ( fs . appendFile , fs . appendFileSync , 'foo\u0000bar' ) ;
25+ check ( fs . appendFile , fs . appendFileSync , 'foo\u0000bar' , 'abc' ) ;
2626check ( fs . chmod , fs . chmodSync , 'foo\u0000bar' , '0644' ) ;
2727check ( fs . chown , fs . chownSync , 'foo\u0000bar' , 12 , 34 ) ;
2828check ( fs . link , fs . linkSync , 'foo\u0000bar' , 'foobar' ) ;
@@ -46,7 +46,7 @@ check(null, fs.unwatchFile, 'foo\u0000bar', common.fail);
4646check ( fs . utimes , fs . utimesSync , 'foo\u0000bar' , 0 , 0 ) ;
4747check ( null , fs . watch , 'foo\u0000bar' , common . fail ) ;
4848check ( null , fs . watchFile , 'foo\u0000bar' , common . fail ) ;
49- check ( fs . writeFile , fs . writeFileSync , 'foo\u0000bar' ) ;
49+ check ( fs . writeFile , fs . writeFileSync , 'foo\u0000bar' , 'abc' ) ;
5050
5151// an 'error' for exists means that it doesn't exist.
5252// one of many reasons why this file is the absolute worst.
0 commit comments