[html] test fold regions

This commit is contained in:
Martin Aeschlimann 2018-03-15 15:17:02 +01:00
parent 21d517efd6
commit 4d78742a99

View file

@ -95,15 +95,15 @@ suite('Object Folding', () => {
assertRanges(input, [r(0, 2, 'comment'), r(3, 4, 'comment')]); assertRanges(input, [r(0, 2, 'comment'), r(3, 4, 'comment')]);
}); });
// test('Fold regions', () => { test('Fold regions', () => {
// let input = [ let input = [
// /*0*/'// #region', /*0*/'<!-- #region -->',
// /*1*/'{', /*1*/'<!-- #region -->',
// /*2*/'}', /*2*/'<!-- #endregion -->',
// /*3*/'// #endregion', /*3*/'<!-- #endregion -->',
// ]; ];
// assertRanges(input, [r(0, 3, 'region')]); assertRanges(input, [r(0, 3, 'region'), r(1, 2, 'region')]);
// }); });
test('Test limit', () => { test('Test limit', () => {
let input = [ let input = [