Skip to content

perf: restructure code & improve unit tests coverage#81

Merged
linrongbin16 merged 19 commits intomasterfrom
refactor5
Oct 21, 2023
Merged

perf: restructure code & improve unit tests coverage#81
linrongbin16 merged 19 commits intomasterfrom
refactor5

Conversation

@linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Oct 21, 2023

Thanks to your contribute, while please finish below tasks:

Regression Test

Platforms

  • windows
  • macOS
  • linux

Tasks

  • Use <leader>gl to copy git link.
  • Use <leader>gL to open git link in browser.
  • Copy git link in a symlink directory of git repo.
  • Copy git link in an un-pushed git branch, and receive an expected error.
  • Copy git link in a pushed git branch but edited file, and receive a warning says the git link could be wrong.

@linrongbin16 linrongbin16 changed the title perf: restructure code & improve tests perf: restructure code & improve unit tests coverage Oct 21, 2023
@github-actions github-actions bot added the perf label Oct 21, 2023
@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Attention: 36 lines in your changes are missing coverage. Please review.

Files Coverage Δ
lua/gitlinker/git.lua 68.24% <100.00%> (+57.45%) ⬆️
lua/gitlinker/path.lua 93.10% <93.10%> (ø)
lua/gitlinker/range.lua 90.00% <90.00%> (ø)
lua/gitlinker/linker.lua 68.18% <68.18%> (ø)
lua/gitlinker.lua 59.21% <19.04%> (+18.85%) ⬆️

... and 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@linrongbin16 linrongbin16 merged commit 29c4edd into master Oct 21, 2023
@linrongbin16 linrongbin16 deleted the refactor5 branch October 21, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant