Skip to content

Commit 013b92c

Browse files
author
Tien Nguyen
committed
Use template string to shorten code.
1 parent 3f3aea1 commit 013b92c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/fourslash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ module FourSlash {
21722172
for (let highlight of highlightSpans) {
21732173
if (highlight && highlight.textSpan.start === start && ts.textSpanEnd(highlight.textSpan) === end) {
21742174
if (typeof kind !== "undefined" && highlight.kind !== kind) {
2175-
this.raiseError('verifyDocumentHighlightsAtPositionListContains failed - item "kind" value does not match, actual: ' + highlight.kind + ', expected: ' + kind + '.');
2175+
this.raiseError(`verifyDocumentHighlightsAtPositionListContains failed - item "kind" value does not match, actual: ${highlight.kind}, expected: ${kind}.`);
21762176
}
21772177
return;
21782178
}

0 commit comments

Comments
 (0)