We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b277a8f commit 2dce7efCopy full SHA for 2dce7ef
editors/code/src/test/utils/diagnotics/rust.test.ts
@@ -229,8 +229,8 @@ describe('mapRustDiagnosticToVsCode', () => {
229
// The file url should be normal file
230
// Ignore the first part because it depends on vs workspace location
231
assert.strictEqual(
232
- true,
233
- location.uri.toString().endsWith('src/main.rs'),
+ location.uri.path.substr(-'src/main.rs'.length),
+ 'src/main.rs',
234
);
235
});
236
0 commit comments