Skip to content

Commit

Permalink
Update src/harness/fourslashImpl.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Shively-Sanders <[email protected]>
  • Loading branch information
orta and sandersn committed Jun 29, 2020
1 parent ac871d0 commit 16a7b23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/harness/fourslashImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2487,8 +2487,7 @@ namespace FourSlash {
const typeIdx = getTokenTypeFromClassification(classification) || 0;
const modSet = getTokenModifierFromClassification(classification);

const tokenClassifiction = [tokenTypes[typeIdx], ...tokenModifiers.filter((_, i) => modSet & 1 << i)].join(".");
return tokenClassifiction;
return [tokenTypes[typeIdx], ...tokenModifiers.filter((_, i) => modSet & 1 << i)].join(".");
}

private verifyClassifications(expected: { classificationType: string | number, text?: string; textSpan?: TextSpan }[], actual: ts.ClassifiedSpan[], sourceFileText: string) {
Expand Down

0 comments on commit 16a7b23

Please sign in to comment.