@@ -41,7 +41,7 @@ suite('Debugging - Adapter Factory', () => {
4141
4242 const nodeExecutable = undefined ;
4343 const debugAdapterPath = path . join ( EXTENSION_ROOT_DIR , 'bundled' , 'libs' , 'debugpy' , 'adapter' ) ;
44- const pythonPath = path . join ( 'path' , 'to' , ' python' , ' interpreter') ;
44+ const pythonPath = 'path/to/ python/ interpreter' ;
4545 const interpreter = {
4646 architecture : Architecture . Unknown ,
4747 path : pythonPath ,
@@ -292,9 +292,9 @@ suite('Debugging - Adapter Factory', () => {
292292 assert . deepStrictEqual ( descriptor , debugExecutable ) ;
293293 } ) ;
294294 test ( 'Add quotes to interpreter path with spaces' , async ( ) => {
295- const customAdapterPath = path . join ( 'custom' , ' debug' , ' adapter' , ' customAdapterPath') ;
295+ const customAdapterPath = 'custom/ debug/ adapter/ customAdapterPath' ;
296296 const session = createSession ( { debugAdapterPath : customAdapterPath } ) ;
297- const interpreterPathSpaces = path . join ( 'path' , 'to' , ' python interpreter with spaces') ;
297+ const interpreterPathSpaces = 'path/to/ python interpreter with spaces' ;
298298 const interpreterPathSpacesQuoted = `"${ interpreterPathSpaces } "` ;
299299 const debugExecutable = new DebugAdapterExecutable ( interpreterPathSpacesQuoted , [ customAdapterPath ] ) ;
300300
0 commit comments