@@ -105,7 +105,7 @@ describe('Colorization', function () {
105
105
punctuation ( ";" ) ) ;
106
106
} ) ;
107
107
108
- it ( "classifies correctly a comment after a divide operator" , function ( ) {
108
+ it ( "correctly classifies a comment after a divide operator" , function ( ) {
109
109
test ( "1 / 2 // comment" ,
110
110
ts . EndOfLineState . Start ,
111
111
numberLiteral ( "1" ) ,
@@ -115,7 +115,7 @@ describe('Colorization', function () {
115
115
comment ( "// comment" ) ) ;
116
116
} ) ;
117
117
118
- it ( "classifies correctly a literal after a divide operator" , function ( ) {
118
+ it ( "correctly classifies a literal after a divide operator" , function ( ) {
119
119
test ( "1 / 2, 3 / 4" ,
120
120
ts . EndOfLineState . Start ,
121
121
numberLiteral ( "1" ) ,
@@ -127,28 +127,28 @@ describe('Colorization', function () {
127
127
operator ( "," ) ) ;
128
128
} ) ;
129
129
130
- it ( "classifies correctly an unterminated multi-line string" , function ( ) {
130
+ it ( "correctly classifies an unterminated multi-line string" , function ( ) {
131
131
test ( "'line1\\" ,
132
132
ts . EndOfLineState . Start ,
133
133
stringLiteral ( "'line1\\" ) ,
134
134
finalEndOfLineState ( ts . EndOfLineState . InSingleQuoteStringLiteral ) ) ;
135
135
} ) ;
136
136
137
- it ( "classifies correctly the second line of an unterminated multi-line string" , function ( ) {
137
+ it ( "correctly classifies the second line of an unterminated multi-line string" , function ( ) {
138
138
test ( "\\" ,
139
139
ts . EndOfLineState . InDoubleQuoteStringLiteral ,
140
140
stringLiteral ( "\\" ) ,
141
141
finalEndOfLineState ( ts . EndOfLineState . InDoubleQuoteStringLiteral ) ) ;
142
142
} ) ;
143
143
144
- it ( "classifies correctly the last line of a multi-line string" , function ( ) {
144
+ it ( "correctly classifies the last line of a multi-line string" , function ( ) {
145
145
test ( "'" ,
146
146
ts . EndOfLineState . InSingleQuoteStringLiteral ,
147
147
stringLiteral ( "'" ) ,
148
148
finalEndOfLineState ( ts . EndOfLineState . Start ) ) ;
149
149
} ) ;
150
150
151
- it ( "classifies correctly an unterminated multiline comment" , function ( ) {
151
+ it ( "correctly classifies an unterminated multiline comment" , function ( ) {
152
152
test ( "/*" ,
153
153
ts . EndOfLineState . Start ,
154
154
comment ( "/*" ) ,
@@ -176,14 +176,14 @@ describe('Colorization', function () {
176
176
finalEndOfLineState ( ts . EndOfLineState . InMultiLineCommentTrivia ) ) ;
177
177
} ) ;
178
178
179
- it ( "classifies correctly an unterminated multiline comment with trailing space" , function ( ) {
179
+ it ( "correctly classifies an unterminated multiline comment with trailing space" , function ( ) {
180
180
test ( "/* " ,
181
181
ts . EndOfLineState . Start ,
182
182
comment ( "/* " ) ,
183
183
finalEndOfLineState ( ts . EndOfLineState . InMultiLineCommentTrivia ) ) ;
184
184
} ) ;
185
185
186
- it ( "classifies correctly a keyword after a dot" , function ( ) {
186
+ it ( "correctly classifies a keyword after a dot" , function ( ) {
187
187
test ( "a.var" ,
188
188
ts . EndOfLineState . Start ,
189
189
identifier ( "var" ) ) ;
0 commit comments