Skip to content

Commit b03f3a6

Browse files
authored
Update fourslashImpl.ts
1 parent 37fd843 commit b03f3a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/harness/fourslashImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ export class TestState {
25982598
const sorted = items.slice();
25992599
// sort by file, then *backwards* by position in the file so I can insert multiple times on a line without counting
26002600
sorted.sort((q1, q2) =>
2601-
q1.marker.fileName === q1.marker.fileName
2601+
q1.marker.fileName === q2.marker.fileName
26022602
? (q1.marker.position > q2.marker.position ? -1 : 1)
26032603
: (q1.marker.fileName > q2.marker.fileName ? 1 : -1)
26042604
);

0 commit comments

Comments
 (0)