Commit 2eb1b00
committed
test(ALL): fix tests that fail when using git worktree
Details:
- When using git worktree, the mini.nvim repository is also checked-out
under a different name. That causes some tests to fail.
- test_tabline: The tabline in test 'deduplicates named labels' changes
when the cwd is not 'mini.nvim'. Solution: first cd into a subfolder
also having 9 characters in the name.
- test_snippets: The screenshot in 'Session persists after :edit'
assumes that the name of the repro is mini.nvim. Solution: use a dummy
statusline.1 parent 9d35922 commit 2eb1b00
3 files changed
Lines changed: 10 additions & 7 deletions
File tree
- tests
- screenshots
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3550 | 3550 | | |
3551 | 3551 | | |
3552 | 3552 | | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
3553 | 3556 | | |
3554 | 3557 | | |
3555 | 3558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
0 commit comments