Skip to content

Commit ffd69b6

Browse files
committed
Update test case to parse multiple markdown files with headings instead of plain markdown content
1 parent ac09242 commit ffd69b6

6 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/clipboard-parser.spec.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,8 @@ describe('clipboard-parser', () => {
764764
})
765765
})
766766

767-
it('parses multiple markdowns', () => {
768-
const test_case = 'multiple-markdowns'
767+
it('parses multiple markdowns with headins', () => {
768+
const test_case = 'multiple-markdowns-with-headings'
769769
const text = load_test_case_file(
770770
'standard',
771771
test_case,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## hello
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## world

packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/test-cases/standard/multiple-markdowns/multiple-markdowns.txt renamed to packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/test-cases/standard/multiple-markdowns-with-headings/multiple-markdowns-with-headings.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
### New file: `src/hello.md`
22

33
```markdown
4-
## Complexity Tracking
5-
4+
## hello
65
```
76

87
### New file: `src/world.md`
98

109
```markdown
11-
console.log("World")
10+
## world
1211
```

‎packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/test-cases/standard/multiple-markdowns/1-file.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/test-cases/standard/multiple-markdowns/2-file.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)