@@ -111,9 +111,7 @@ suite('Attach Debugger - Experimental', () => {
111
111
stdOutPromise , stdErrPromise
112
112
] ) ;
113
113
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 ) ;
117
115
118
116
await Promise . all ( [
119
117
continueDebugging ( debugClient ) ,
@@ -131,7 +129,7 @@ suite('Attach Debugger - Experimental', () => {
131
129
132
130
await testAttachingToRemoteProcess ( path . dirname ( fileToDebug ) , path . dirname ( fileToDebug ) , path . sep ) ;
133
131
} ) ;
134
- test ( 'Confirm localpath translations are done correctly ' , async function ( ) {
132
+ test ( 'Confirm local and remote paths are translated ' , async function ( ) {
135
133
this . timeout ( 20000 ) ;
136
134
this . retries ( 0 ) ;
137
135
// Lets skip this test on AppVeyor (very flaky on AppVeyor).
@@ -140,7 +138,7 @@ suite('Attach Debugger - Experimental', () => {
140
138
}
141
139
142
140
const localWorkspace = IS_WINDOWS ? '/home/user/Desktop/project/src' : 'C:\\Project\\src' ;
143
- const pathSeparator = IS_WINDOWS ? '\\ ' : '/ ' ;
141
+ const pathSeparator = IS_WINDOWS ? '/ ' : '\\ ' ;
144
142
await testAttachingToRemoteProcess ( localWorkspace , path . dirname ( fileToDebug ) , pathSeparator ) ;
145
143
} ) ;
146
144
} ) ;
0 commit comments