Skip to content

Commit 25170ef

Browse files
Changed wording for unit tests.
1 parent c719100 commit 25170ef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/cases/unittests/services/colorization.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('Colorization', function () {
105105
punctuation(";"));
106106
});
107107

108-
it("classifies correctly a comment after a divide operator", function () {
108+
it("correctly classifies a comment after a divide operator", function () {
109109
test("1 / 2 // comment",
110110
ts.EndOfLineState.Start,
111111
numberLiteral("1"),
@@ -115,7 +115,7 @@ describe('Colorization', function () {
115115
comment("// comment"));
116116
});
117117

118-
it("classifies correctly a literal after a divide operator", function () {
118+
it("correctly classifies a literal after a divide operator", function () {
119119
test("1 / 2, 3 / 4",
120120
ts.EndOfLineState.Start,
121121
numberLiteral("1"),
@@ -127,28 +127,28 @@ describe('Colorization', function () {
127127
operator(","));
128128
});
129129

130-
it("classifies correctly an unterminated multi-line string", function () {
130+
it("correctly classifies an unterminated multi-line string", function () {
131131
test("'line1\\",
132132
ts.EndOfLineState.Start,
133133
stringLiteral("'line1\\"),
134134
finalEndOfLineState(ts.EndOfLineState.InSingleQuoteStringLiteral));
135135
});
136136

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 () {
138138
test("\\",
139139
ts.EndOfLineState.InDoubleQuoteStringLiteral,
140140
stringLiteral("\\"),
141141
finalEndOfLineState(ts.EndOfLineState.InDoubleQuoteStringLiteral));
142142
});
143143

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 () {
145145
test("'",
146146
ts.EndOfLineState.InSingleQuoteStringLiteral,
147147
stringLiteral("'"),
148148
finalEndOfLineState(ts.EndOfLineState.Start));
149149
});
150150

151-
it("classifies correctly an unterminated multiline comment", function () {
151+
it("correctly classifies an unterminated multiline comment", function () {
152152
test("/*",
153153
ts.EndOfLineState.Start,
154154
comment("/*"),
@@ -176,14 +176,14 @@ describe('Colorization', function () {
176176
finalEndOfLineState(ts.EndOfLineState.InMultiLineCommentTrivia));
177177
});
178178

179-
it("classifies correctly an unterminated multiline comment with trailing space", function () {
179+
it("correctly classifies an unterminated multiline comment with trailing space", function () {
180180
test("/* ",
181181
ts.EndOfLineState.Start,
182182
comment("/* "),
183183
finalEndOfLineState(ts.EndOfLineState.InMultiLineCommentTrivia));
184184
});
185185

186-
it("classifies correctly a keyword after a dot", function () {
186+
it("correctly classifies a keyword after a dot", function () {
187187
test("a.var",
188188
ts.EndOfLineState.Start,
189189
identifier("var"));

0 commit comments

Comments
 (0)