@@ -57,7 +57,7 @@ describe("unittests:: services:: Colorization", () => {
57
57
}
58
58
59
59
describe ( "test getClassifications" , ( ) => {
60
- it ( "Returns correct token classes" , ( ) => {
60
+ it ( "returns correct token classes" , ( ) => {
61
61
testLexicalClassification ( "var x: string = \"foo\" ?? \"bar\"; //Hello" ,
62
62
ts . EndOfLineState . None ,
63
63
keyword ( "var" ) ,
@@ -96,14 +96,14 @@ describe("unittests:: services:: Colorization", () => {
96
96
operator ( "," ) ) ;
97
97
} ) ;
98
98
99
- it ( "correctly classifies a multi-line string with one backslash" , ( ) => {
99
+ it ( "correctly classifies a multiline string with one backslash" , ( ) => {
100
100
testLexicalClassification ( "'line1\\" ,
101
101
ts . EndOfLineState . None ,
102
102
stringLiteral ( "'line1\\" ) ,
103
103
finalEndOfLineState ( ts . EndOfLineState . InSingleQuoteStringLiteral ) ) ;
104
104
} ) ;
105
105
106
- it ( "correctly classifies a multi-line string with three backslashes" , ( ) => {
106
+ it ( "correctly classifies a multiline string with three backslashes" , ( ) => {
107
107
testLexicalClassification ( "'line1\\\\\\" ,
108
108
ts . EndOfLineState . None ,
109
109
stringLiteral ( "'line1\\\\\\" ) ,
@@ -131,42 +131,42 @@ describe("unittests:: services:: Colorization", () => {
131
131
finalEndOfLineState ( ts . EndOfLineState . None ) ) ;
132
132
} ) ;
133
133
134
- it ( "correctly classifies the continuing line of a multi-line string ending in one backslash" , ( ) => {
134
+ it ( "correctly classifies the continuing line of a multiline string ending in one backslash" , ( ) => {
135
135
testLexicalClassification ( "\\" ,
136
136
ts . EndOfLineState . InDoubleQuoteStringLiteral ,
137
137
stringLiteral ( "\\" ) ,
138
138
finalEndOfLineState ( ts . EndOfLineState . InDoubleQuoteStringLiteral ) ) ;
139
139
} ) ;
140
140
141
- it ( "correctly classifies the continuing line of a multi-line string ending in three backslashes" , ( ) => {
141
+ it ( "correctly classifies the continuing line of a multiline string ending in three backslashes" , ( ) => {
142
142
testLexicalClassification ( "\\" ,
143
143
ts . EndOfLineState . InDoubleQuoteStringLiteral ,
144
144
stringLiteral ( "\\" ) ,
145
145
finalEndOfLineState ( ts . EndOfLineState . InDoubleQuoteStringLiteral ) ) ;
146
146
} ) ;
147
147
148
- it ( "correctly classifies the last line of an unterminated multi-line string ending in no backslashes" , ( ) => {
148
+ it ( "correctly classifies the last line of an unterminated multiline string ending in no backslashes" , ( ) => {
149
149
testLexicalClassification ( " " ,
150
150
ts . EndOfLineState . InDoubleQuoteStringLiteral ,
151
151
stringLiteral ( " " ) ,
152
152
finalEndOfLineState ( ts . EndOfLineState . None ) ) ;
153
153
} ) ;
154
154
155
- it ( "correctly classifies the last line of an unterminated multi-line string ending in two backslashes" , ( ) => {
155
+ it ( "correctly classifies the last line of an unterminated multiline string ending in two backslashes" , ( ) => {
156
156
testLexicalClassification ( "\\\\" ,
157
157
ts . EndOfLineState . InDoubleQuoteStringLiteral ,
158
158
stringLiteral ( "\\\\" ) ,
159
159
finalEndOfLineState ( ts . EndOfLineState . None ) ) ;
160
160
} ) ;
161
161
162
- it ( "correctly classifies the last line of an unterminated multi-line string ending in four backslashes" , ( ) => {
162
+ it ( "correctly classifies the last line of an unterminated multiline string ending in four backslashes" , ( ) => {
163
163
testLexicalClassification ( "\\\\\\\\" ,
164
164
ts . EndOfLineState . InDoubleQuoteStringLiteral ,
165
165
stringLiteral ( "\\\\\\\\" ) ,
166
166
finalEndOfLineState ( ts . EndOfLineState . None ) ) ;
167
167
} ) ;
168
168
169
- it ( "correctly classifies the last line of a multi-line string" , ( ) => {
169
+ it ( "correctly classifies the last line of a multiline string" , ( ) => {
170
170
testLexicalClassification ( "'" ,
171
171
ts . EndOfLineState . InSingleQuoteStringLiteral ,
172
172
stringLiteral ( "'" ) ,
0 commit comments