@@ -136,7 +136,7 @@ describe('nodePath.test.mjs', function(){
136136const PathWin32ToPosixTests = [
137137 [ "C:\\Users\\Public\\Documents" , "C:/Users/Public/Documents" ] , //maybe append with quotes instead?
138138 [ "C:\\Users\\Public\\temp spaces\\a\\b c\\d" , "C:/Users/Public/temp\\ spaces/a/b\\ c/d" ] ,
139- [ "C:\\Users\\Public\\temp spaces\\a\\b c\\d" , "C:/Users/Public/temp\\ spaces/a/b\\ c/d" ] ,
139+ [ "C:\\\\ Users\\\\ Public\\\\ temp spaces\\\\ a\\\\ b c\\ \\d" , "C:/Users/Public/temp\\ spaces/a/b\\ c/d" ] ,
140140 [ "C:\\\\Users\\\\Public\\\\Documents" , "C:/Users/Public/Documents" ]
141141] ;
142142const ogLength = PathWin32ToPosixTests . length
@@ -158,7 +158,7 @@ describe('PathWin32ToPosixTests', function(){
158158 } ) ;
159159 it ( `PathWin32ToPosixTests ps1 ${ win32ToPosixIndex } ` , function ( ) {
160160 // console.log(wslPassTestIndex,inputWinPath);
161- const output = spawnSync ( `pwsh.exe -file lib/test-utils/pwsh-test-mocha.ps1` , [ `" ${ inputWinPath } "` ] , { shell :true } ) ;
161+ const output = spawnSync ( `pwsh.exe -file lib/test-utils/pwsh-test-mocha.ps1` , [ inputWinPath ] , { shell :true } ) ;
162162 // const output = spawnSync(`pwsh.exe -Command write-host ${inputWinPath}`,[],{shell:true});
163163 if ( output . status !== 0 ) {
164164 console . log ( output . stdout . toString ( ) )
0 commit comments