mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +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')]);
|
||||
});
|
||||
|
||||
// test('Fold regions', () => {
|
||||
// let input = [
|
||||
// /*0*/'// #region',
|
||||
// /*1*/'{',
|
||||
// /*2*/'}',
|
||||
// /*3*/'// #endregion',
|
||||
// ];
|
||||
// assertRanges(input, [r(0, 3, 'region')]);
|
||||
// });
|
||||
test('Fold regions', () => {
|
||||
let input = [
|
||||
/*0*/'<!-- #region -->',
|
||||
/*1*/'<!-- #region -->',
|
||||
/*2*/'<!-- #endregion -->',
|
||||
/*3*/'<!-- #endregion -->',
|
||||
];
|
||||
assertRanges(input, [r(0, 3, 'region'), r(1, 2, 'region')]);
|
||||
});
|
||||
|
||||
test('Test limit', () => {
|
||||
let input = [
|
||||
|
|
Loading…
Reference in a new issue