We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37fd843 commit b03f3a6Copy full SHA for b03f3a6
1 file changed
src/harness/fourslashImpl.ts
@@ -2598,7 +2598,7 @@ export class TestState {
2598
const sorted = items.slice();
2599
// sort by file, then *backwards* by position in the file so I can insert multiple times on a line without counting
2600
sorted.sort((q1, q2) =>
2601
- q1.marker.fileName === q1.marker.fileName
+ q1.marker.fileName === q2.marker.fileName
2602
? (q1.marker.position > q2.marker.position ? -1 : 1)
2603
: (q1.marker.fileName > q2.marker.fileName ? 1 : -1)
2604
);
0 commit comments