File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ module.exports = function(options) {
3434 'it works' : function ( err ) {
3535 assert . ifError ( err ) ;
3636 } ,
37+ 'we get passed `undefined`' : function ( err , ret ) {
38+ assert . isUndefined ( ret ) ;
39+ } ,
3740 'the directory exists' : function ( ) {
3841 // Evil sync thing
3942 assert . doesNotThrow ( function ( ) {
@@ -66,6 +69,9 @@ module.exports = function(options) {
6669 'it works' : function ( err ) {
6770 assert . ifError ( err ) ;
6871 } ,
72+ 'we get passed `undefined`' : function ( err , ret ) {
73+ assert . isUndefined ( ret ) ;
74+ } ,
6975 'the test/ directory exists again' : function ( ) {
7076 // Evil sync thing
7177 assert . doesNotThrow ( function ( ) {
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ module.exports = function(options) {
3131 'it works' : function ( err ) {
3232 assert . ifError ( err ) ;
3333 } ,
34+ 'we get passed `undefined`' : function ( err , ret ) {
35+ assert . isUndefined ( ret ) ;
36+ } ,
3437 'the directory exists' : function ( ) {
3538 // Evil sync thing
3639 assert . doesNotThrow ( function ( ) {
You can’t perform that action at this time.
0 commit comments