pass failing tests for 'dj' motion

This commit is contained in:
2025-09-24 19:32:31 +01:00
parent 2076d25653
commit 1255238d6c
2 changed files with 61 additions and 8 deletions

View File

@@ -349,7 +349,7 @@ struct
val app = AppWith.idx (app, originalIdx)
(* act *)
val {cursorIdx, buffer, ...} = TestUtils.updateMany (app, "dl")
val {cursorIdx, buffer, ...} = TestUtils.updateMany (app, "dj")
(* assert *)
val actualString = LineGap.toString buffer
@@ -374,11 +374,11 @@ struct
val app = AppWith.idx (app, originalIdx)
(* act *)
val {cursorIdx, buffer, ...} = TestUtils.updateMany (app, "dl")
val {cursorIdx, buffer, ...} = TestUtils.updateMany (app, "dj")
(* assert *)
val actualString = LineGap.toString buffer
val expectedString = "bye world\n"
val expectedString = "hello\n"
val stringIsExpected = actualString = expectedString
val expectedCursorIdx = 0