Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 29, 2018
1 parent a8e6a91 commit 2f41878
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ suite('TokenSelectionSupport', () => {

let actual = await provideSelectionRanges(model, new Position(lineNumber, column), CancellationToken.None);


let actualStr = actual.map(r => new Range(r.startLineNumber, r.startColumn, r.endLineNumber, r.endColumn).toString());
let desiredStr = ranges.map(r => String(r));
let desiredStr = ranges.reverse().map(r => String(r));

assert.deepEqual(actualStr, desiredStr);

Expand Down

0 comments on commit 2f41878

Please sign in to comment.