Skip to content

Commit

Permalink
Merge pull request #2051 from Microsoft/absenceNonOptional
Browse files Browse the repository at this point in the history
Make 'syntacticClassifierAbsent' non-optional.
  • Loading branch information
DanielRosenwasser committed Feb 16, 2015
2 parents 9f7c252 + 67638cb commit 0314083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cases/unittests/services/colorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('Colorization', function () {
}

function testLexicalClassification(text: string, initialEndOfLineState: ts.EndOfLineState, ...expectedEntries: ClassificationEntry[]): void {
var result = classifier.getClassificationsForLine(text, initialEndOfLineState);
var result = classifier.getClassificationsForLine(text, initialEndOfLineState, /*syntacticClassifierAbsent*/ false);

for (var i = 0, n = expectedEntries.length; i < n; i++) {
var expectedEntry = expectedEntries[i];
Expand Down

0 comments on commit 0314083

Please sign in to comment.