mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
[html] test fold regions
This commit is contained in:
parent
21d517efd6
commit
4d78742a99
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue