mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
[html] intersecting regions test
This commit is contained in:
parent
a2346c606d
commit
b372c7ea1e
|
@ -224,6 +224,17 @@ suite('HTML Folding', () => {
|
|||
assertRanges(input, [r(0, 3)]);
|
||||
});
|
||||
|
||||
test('Fold intersecting region 2', () => {
|
||||
let input = [
|
||||
/*0*/'<!-- #region -->',
|
||||
/*1*/'<body>',
|
||||
/*2*/'Hello',
|
||||
/*3*/'<!-- #endregion -->',
|
||||
/*4*/'<div></div>',
|
||||
/*5*/'</body>',
|
||||
];
|
||||
assertRanges(input, [r(0, 3, 'region')]);
|
||||
});
|
||||
|
||||
test('Test limit', () => {
|
||||
let input = [
|
||||
|
|
Loading…
Reference in a new issue