1- var git = require ( " ../" ) ;
2- var rimraf = require ( " rimraf" ) ;
3- var fs = require ( "fs" ) ;
1+ var git = require ( ' ../' ) ;
2+ var rimraf = require ( ' rimraf' ) ;
3+ var fs = require ( 'fs' ) ;
44
55// Helper functions
66var helper = {
77 // Test if obj is a true function
88 testFunction : function ( test , obj , label ) {
99 // The object reports itself as a function
10- test ( typeof obj , " function" , label + " reports as a function." ) ;
10+ test ( typeof obj , ' function' , label + ' reports as a function.' ) ;
1111 // This ensures the repo is actually a derivative of the Function [[Class]]
12- test ( toString . call ( obj ) , " [object Function]" , label + " [[Class]] is of type function." ) ;
12+ test ( toString . call ( obj ) , ' [object Function]' , label + ' [[Class]] is of type function.' ) ;
1313 } ,
1414 // Test code and handle exception thrown
1515 testException : function ( test , fun , label ) {
@@ -31,7 +31,7 @@ var helper = {
3131exports . method = function ( test ) {
3232 test . expect ( 2 ) ;
3333
34- helper . testFunction ( test . equals , git . commit , " Commmit" ) ;
34+ helper . testFunction ( test . equals , git . commit , ' Commmit' ) ;
3535
3636 test . done ( ) ;
3737} ;
0 commit comments