@@ -111,9 +111,7 @@ suite('Attach Debugger - Experimental', () => {
111111 stdOutPromise , stdErrPromise
112112 ] ) ;
113113
114- // Unfortunately PTVSD will be running on the current OS, hence paths will be concatenated using current OS path separator.
115- const expectedBreapointFile = path . join ( localRoot , path . basename ( fileToDebug ) ) ;
116- await debugClient . assertStoppedLocation ( 'breakpoint' , { path : expectedBreapointFile , column : 1 , line : 12 } ) ;
114+ await debugClient . assertStoppedLocation ( 'breakpoint' , breakpointLocation ) ;
117115
118116 await Promise . all ( [
119117 continueDebugging ( debugClient ) ,
@@ -131,7 +129,7 @@ suite('Attach Debugger - Experimental', () => {
131129
132130 await testAttachingToRemoteProcess ( path . dirname ( fileToDebug ) , path . dirname ( fileToDebug ) , path . sep ) ;
133131 } ) ;
134- test ( 'Confirm localpath translations are done correctly ' , async function ( ) {
132+ test ( 'Confirm local and remote paths are translated ' , async function ( ) {
135133 this . timeout ( 20000 ) ;
136134 this . retries ( 0 ) ;
137135 // Lets skip this test on AppVeyor (very flaky on AppVeyor).
@@ -140,7 +138,7 @@ suite('Attach Debugger - Experimental', () => {
140138 }
141139
142140 const localWorkspace = IS_WINDOWS ? '/home/user/Desktop/project/src' : 'C:\\Project\\src' ;
143- const pathSeparator = IS_WINDOWS ? '\\ ' : '/ ' ;
141+ const pathSeparator = IS_WINDOWS ? '/ ' : '\\ ' ;
144142 await testAttachingToRemoteProcess ( localWorkspace , path . dirname ( fileToDebug ) , pathSeparator ) ;
145143 } ) ;
146144} ) ;
0 commit comments