mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
css/html/json typos (for #47894)
This commit is contained in:
@@ -76,7 +76,7 @@ export function testCompletionFor(value: string, expected: { count?: number, ite
|
||||
}
|
||||
|
||||
suite('HTML Completion', () => {
|
||||
test('HTML Javascript Completions', function (): any {
|
||||
test('HTML JavaScript Completions', function (): any {
|
||||
testCompletionFor('<html><script>window.|</script></html>', {
|
||||
items: [
|
||||
{ label: 'location', resultText: '<html><script>window.location</script></html>' },
|
||||
|
||||
@@ -88,7 +88,7 @@ suite('HTML Folding', () => {
|
||||
assertRanges(input, [r(0, 7), r(5, 6)]);
|
||||
});
|
||||
|
||||
test('Fold commment', () => {
|
||||
test('Fold comment', () => {
|
||||
let input = [
|
||||
/*0*/'<!--',
|
||||
/*1*/' multi line',
|
||||
@@ -123,7 +123,7 @@ suite('HTML Folding', () => {
|
||||
assertRanges(input, [r(0, 6), r(1, 5), r(2, 4), r(3, 4)]);
|
||||
});
|
||||
|
||||
test('Embedded JavaScript - mutiple areas', () => {
|
||||
test('Embedded JavaScript - multiple areas', () => {
|
||||
let input = [
|
||||
/* 0*/'<html>',
|
||||
/* 1*/'<head>',
|
||||
@@ -177,7 +177,7 @@ suite('HTML Folding', () => {
|
||||
assertRanges(input, [r(0, 9), r(1, 8), r(2, 7), r(3, 7, 'region'), r(4, 6, 'region')]);
|
||||
});
|
||||
|
||||
// test('Embedded JavaScript - mulit line comment', () => {
|
||||
// test('Embedded JavaScript - multi line comment', () => {
|
||||
// let input = [
|
||||
// /* 0*/'<html>',
|
||||
// /* 1*/'<head>',
|
||||
|
||||
Reference in New Issue
Block a user