fix failing test for 'dge' motion: if the deletion takes us to a newliune that follows a non-newline-character, we should decrement the cursor to be on the non-newline-character
This commit is contained in:
@@ -2387,7 +2387,7 @@ struct
|
||||
|
||||
(* assert *)
|
||||
val actualString = LineGap.toString buffer
|
||||
val expectedString = "hell world\n"
|
||||
val expectedString = "hell\n"
|
||||
val expectedCursorIdx = String.size expectedString - 2
|
||||
in
|
||||
Expect.isTrue
|
||||
|
||||
Reference in New Issue
Block a user