From 4bc46b0ec6ae2dc00a887a21d5d596184ddd6633 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 17 Dec 2024 21:40:59 -0800 Subject: [PATCH] ctxItemToRifWithContents test --- core/commands/util.test.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/commands/util.test.ts b/core/commands/util.test.ts index 7947a7db8..447ec0e60 100644 --- a/core/commands/util.test.ts +++ b/core/commands/util.test.ts @@ -14,8 +14,8 @@ describe("ctxItemToRifWithContents", () => { const expected: RangeInFileWithContents = { filepath: "/path/to/file", range: { - start: { line: 9, character: 0 }, - end: { line: 19, character: 0 }, + start: { line: 10, character: 0 }, + end: { line: 20, character: 0 }, }, contents: "function content", }; @@ -57,8 +57,8 @@ describe("ctxItemToRifWithContents", () => { const expected: RangeInFileWithContents = { filepath: "", range: { - start: { line: 9, character: 0 }, - end: { line: 19, character: 0 }, + start: { line: 10, character: 0 }, + end: { line: 20, character: 0 }, }, contents: "function content", }; @@ -78,8 +78,8 @@ describe("ctxItemToRifWithContents", () => { const expected: RangeInFileWithContents = { filepath: "", range: { - start: { line: 9, character: 0 }, - end: { line: 19, character: 0 }, + start: { line: 10, character: 0 }, + end: { line: 20, character: 0 }, }, contents: "function content", }; @@ -115,8 +115,8 @@ describe("ctxItemToRifWithContents", () => { const expected: RangeInFileWithContents = { filepath: "/path/to/file", range: { - start: { line: 9, character: 0 }, - end: { line: 19, character: 0 }, + start: { line: 10, character: 0 }, + end: { line: 20, character: 0 }, }, contents: "function content", }; @@ -137,8 +137,8 @@ describe("ctxItemToRifWithContents", () => { const expected: RangeInFileWithContents = { filepath: "/path/to/file", range: { - start: { line: 9, character: 0 }, - end: { line: 19, character: 0 }, + start: { line: 10, character: 0 }, + end: { line: 20, character: 0 }, }, contents: "function content", };