Skip to content

Commit e997234

Browse files
committed
fix test
1 parent 4523598 commit e997234

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/test/suite/providers.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ suite("Github", async () => {
5454
})
5555
const expected = {
5656
blobUrl:
57-
"https://github.com/recipeyak/recipeyak/blob/db99a912f5c4bffe11d91e163cd78ed96589611b/frontend/src/components/App.tsx#L18C1-L25C1",
57+
"https://github.com/recipeyak/recipeyak/blob/db99a912f5c4bffe11d91e163cd78ed96589611b/frontend/src/components/App.tsx#L18-L25",
5858
blameUrl:
59-
"https://github.com/recipeyak/recipeyak/blame/db99a912f5c4bffe11d91e163cd78ed96589611b/frontend/src/components/App.tsx#L18C1-L25C1",
59+
"https://github.com/recipeyak/recipeyak/blame/db99a912f5c4bffe11d91e163cd78ed96589611b/frontend/src/components/App.tsx#L18-L25",
6060
compareUrl:
6161
"https://github.com/recipeyak/recipeyak/compare/db99a912f5c4bffe11d91e163cd78ed96589611b",
6262
historyUrl:
@@ -87,17 +87,17 @@ suite("Github", async () => {
8787
)
8888
const result = await gh.getUrls({
8989
selection: {
90-
start: { line: 17, character: 0 },
91-
end: { line: 24, character: 0 },
90+
start: { line: 17, character: 4 },
91+
end: { line: 24, character: 5 },
9292
},
9393
head: createBranch("master"),
9494
relativeFilePath: "frontend/src/components/App.tsx",
9595
})
9696
const expected = {
9797
blobUrl:
98-
"https://github.mycompany.com/recipeyak/recipeyak/blob/master/frontend/src/components/App.tsx#L18C1-L25C1",
98+
"https://github.mycompany.com/recipeyak/recipeyak/blob/master/frontend/src/components/App.tsx#L18C5-L25C6",
9999
blameUrl:
100-
"https://github.mycompany.com/recipeyak/recipeyak/blame/master/frontend/src/components/App.tsx#L18C1-L25C1",
100+
"https://github.mycompany.com/recipeyak/recipeyak/blame/master/frontend/src/components/App.tsx#L18C5-L25C6",
101101
compareUrl:
102102
"https://github.mycompany.com/recipeyak/recipeyak/compare/master",
103103
historyUrl:

0 commit comments

Comments
 (0)