done implementing tests for yank. Also simplify 'NormalDelete.deleteLineDown' and 'NormalYank.yankLineDown' functions by removing an if-branch which can never trigger. (The code path can only be executed in the event that 'endLineIdx' is on a newline, and there is an if-expression in that branch checking whether 'endLineIdx' is on a newline, which is redundant.)

This commit is contained in:
2026-01-31 22:20:52 +00:00
parent c0d4155808
commit 2ee963a3d8
4 changed files with 110 additions and 20 deletions

View File

@@ -1,4 +1,5 @@
# To-do list
- Add tests for 'yj' motion
- Add tests for other yank motoins
- Tests should be based on existing tests for delete-motions, and in the same order.
- Bind gamepad functions from GLFW and/or RGFW
- Add tests for NormalYankDelete functions, to make sure that they are yanking the expected string.