@@ -1035,14 +1035,8 @@ describe('git', () => {
10351035 repo . caseInsensitiveFs = true
10361036 workingDirectory = repo . getWorkingDirectory ( )
10371037
1038- console . log ( 'Comparing repo directory:' , repoDirectory , 'to working directory:' , workingDirectory ) ;
1039-
1040- console . log ( 'Just a HUNCH:' , fs . realpathSync . native ( repoDirectory ) , 'from' , repoDirectory ) ;
1041- // if (process.platform === 'win32') {
1042- expect ( repo . isWorkingDirectory ( repoDirectory ) ) . toBe ( true )
1043- expect ( repo . isWorkingDirectory ( workingDirectory . toUpperCase ( ) ) ) . toBe ( true )
1044- // }
1045-
1038+ expect ( repo . isWorkingDirectory ( repoDirectory ) ) . toBe ( true )
1039+ expect ( repo . isWorkingDirectory ( workingDirectory . toUpperCase ( ) ) ) . toBe ( true )
10461040 } )
10471041 } )
10481042
@@ -1128,7 +1122,9 @@ describe('git', () => {
11281122 expect ( repo . submoduleForPath ( 'sub1' ) ) . toBe ( null )
11291123
11301124 let submoduleRepoPath = path . join ( repo . getPath ( ) , 'modules' , 'sub/' )
1131- if ( process . platform === 'win32' ) { submoduleRepoPath = submoduleRepoPath . replace ( / \\ / g, '/' ) }
1125+ if ( process . platform === 'win32' ) {
1126+ submoduleRepoPath = submoduleRepoPath . replace ( / \\ / g, '/' )
1127+ }
11321128
11331129 expect ( repo . submoduleForPath ( 'sub' ) . getPath ( ) ) . toBe ( submoduleRepoPath )
11341130 expect ( repo . submoduleForPath ( 'sub/' ) . getPath ( ) ) . toBe ( submoduleRepoPath )
0 commit comments