Skip to content

Commit ecd8cf0

Browse files
committed
Rename the generic-9 test case to loose-gap-match
1 parent d3b61f7 commit ecd8cf0

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/diff-processor.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ describe('diff-processor', () => {
195195
expect(result).toBe(expected)
196196
})
197197

198-
it('applies diff with generic test case 9 correctly', async () => {
199-
const test_case = 'generic-9'
198+
it('applies diff with loose gap matching correctly', async () => {
199+
const test_case = 'loose-gap-match'
200200
const original = load_test_case_file('', test_case, 'original.txt')
201201
const diff = load_test_case_file('', test_case, 'diff.txt')
202202
const expected = load_test_case_file('', test_case, 'expected.txt')

apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/generic-9/diff.txt renamed to apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/loose-gap-match/diff.txt

File renamed without changes.

apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/generic-9/expected.txt renamed to apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/loose-gap-match/expected.txt

File renamed without changes.

apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/generic-9/original.txt renamed to apps/editor/src/commands/apply-chat-response-command/utils/edit-formats/diffs/test-cases/loose-gap-match/original.txt

File renamed without changes.

0 commit comments

Comments
 (0)