jesseduffield.lazygit/pkg
Stefan Haller bf699d3a79 Add test case for LineNumberOfLine()
There's a bug in LineNumberOfLine, but the existing test coverage doesn't catch
it, as the only test case for this was one where oldStart and newStart were the
same for all hunks. Add a test case where newStart is different for one of the
hunks; this demonstrates a bug, where all expected results from index 12 on are
off by one.
2023-08-10 07:22:42 +02:00
..
app Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
cheatsheet Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
commands Add test case for LineNumberOfLine() 2023-08-10 07:22:42 +02:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config Appease linter 2023-08-02 08:32:57 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui If OpenLink errors, show a dialog instead 2023-08-09 13:12:40 +01:00
i18n If OpenLink errors, show a dialog instead 2023-08-09 13:12:40 +01:00
integration If OpenLink errors, show a dialog instead 2023-08-09 13:12:40 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00