[html] "Expand selection" misses { } in <script> tag. Fixes #85306

This commit is contained in:
Martin Aeschlimann
2019-11-26 17:11:35 +01:00
parent 6d43f2cb26
commit 873fc72278
8 changed files with 138 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ suite('HTML Embedded Formatting', () => {
settings: options,
folders: [{ name: 'foo', uri: 'test://foo' }]
};
var languageModes = getLanguageModes({ css: true, javascript: true }, workspace, ClientCapabilities.LATEST);
let languageModes = getLanguageModes({ css: true, javascript: true }, workspace, ClientCapabilities.LATEST);
let rangeStartOffset = value.indexOf('|');
let rangeEndOffset;