Skip to content

Commit 0314083

Browse files
Merge pull request #2051 from Microsoft/absenceNonOptional
Make 'syntacticClassifierAbsent' non-optional.
2 parents 9f7c252 + 67638cb commit 0314083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cases/unittests/services/colorization.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('Colorization', function () {
4343
}
4444

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

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

0 commit comments

Comments
 (0)