', async () => {
const expected = [
'# Index',
- `
`,
+ `
`
+ + `
`,
'',
'# Include',
- '
',
+ '
',
'',
].join('\n');
@@ -85,10 +86,11 @@ test('includeFile replaces
with ', async
const expected = [
'# Index',
- `
`,
+ `
`
+ + `
`,
'',
'# Exist',
- '
',
+ '
',
'',
].join('\n');
@@ -161,10 +163,11 @@ test('includeFile replaces
with ', async
const expected = [
'# Index',
- `
`,
+ `
`
+ + `
`,
'',
'existing segment',
- '
',
+ '
',
'',
].join('\n');
@@ -205,7 +208,8 @@ test('includeFile replaces
with inline
const expected = [
'# Index',
- `existing segment`,
+ ``
+ + `existing segment`,
'',
].join('\n');
@@ -245,10 +249,11 @@ test('includeFile replaces with trimmed c
const expected = [
'# Index',
- ``,
+ `
`
+ + `
`,
'',
'existing segment',
- '
',
+ '
',
'',
].join('\n');
@@ -332,10 +337,11 @@ test('includeFile replaces with
const expected = [
'# Index',
- `
`,
+ `
`
+ + `
`,
'',
'existing segment',
- '
',
+ '
',
'',
].join('\n');
@@ -372,10 +378,11 @@ test('includeFile replaces
with
const expected = [
'# Index',
- ``,
+ `
`
+ + `
`,
'',
'',
- '
',
+ '
',
'',
].join('\n');