Skip to content

Commit fa08a1f

Browse files
committed
Rename code-at-cursor-parser test case directories and update test references
- rename folders/files 'code-completion' to 'standard', 'code-completion-with-text' to 'with-text'
1 parent 236419d commit fa08a1f

7 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/code-completion/1-file.txt renamed to apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/standard/1-file.txt

File renamed without changes.

apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/code-completion/code-completion.txt renamed to apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/standard/standard.txt

File renamed without changes.

apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/code-completion-with-text/1-text.txt renamed to apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/with-text/1-text.txt

File renamed without changes.

apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/code-completion-with-text/2-file.txt renamed to apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/with-text/2-file.txt

File renamed without changes.

apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/code-completion-with-text/3-text.txt renamed to apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/with-text/3-text.txt

File renamed without changes.

apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/code-completion-with-text/code-completion-with-text.txt renamed to apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/cases/with-text/with-text.txt

File renamed without changes.

‎apps/editor/src/commands/apply-response-command/utils/response-parser/parsers/code-at-cursor-parser/test/code-at-cursor-parser.spec.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('response-parser', () => {
1212

1313
describe('parse_response', () => {
1414
it('parses code completion format with file path, line, and character', () => {
15-
const test_case = 'code-completion'
15+
const test_case = 'standard'
1616
const text = load_test_case_file(test_case, `${test_case}.txt`)
1717
const result = parse_response({
1818
response: text,
@@ -30,7 +30,7 @@ describe('response-parser', () => {
3030
})
3131

3232
it('parses code completion format with surrounding text', () => {
33-
const test_case = 'code-completion-with-text'
33+
const test_case = 'with-text'
3434
const text = load_test_case_file(test_case, `${test_case}.txt`)
3535
const result = parse_response({
3636
response: text,

0 commit comments

Comments
 (0)