add tests for 'yk' motion (next: implement 'yj' motion and test it)

This commit is contained in:
2026-01-14 04:49:41 +00:00
parent 66f1fb0b5e
commit e1077b7780
5 changed files with 190 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ struct
val length = endOfLine - lineIdx
val buffer = LineGap.goToIdx (endOfLine, buffer)
val str = LineGap.substring (lineIdx, length, buffer)
val str = LineGap.substring (lineIdx + 1, length, buffer)
in
finish (app, buffer, str)
end