From 953692bd882d0ae46e8d793a8aba25c74ea2b89a Mon Sep 17 00:00:00 2001 From: David Little Date: Thu, 19 Sep 2024 15:49:27 -0500 Subject: [PATCH] new subsection tests --- test/specs/moveBySection.ux.mts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/test/specs/moveBySection.ux.mts b/test/specs/moveBySection.ux.mts index d068e02..63ba691 100644 --- a/test/specs/moveBySection.ux.mts +++ b/test/specs/moveBySection.ux.mts @@ -97,6 +97,18 @@ describe('Section Motion', () => { ` ); + + await editor.moveCursor(10, 1); + await parMoveSelects( + {selectWhole: true, boundary: 'start'}, + `# B + # -------------------- + + billybob + bim + + ` + ); }); it('Can move by end', async () => { @@ -117,6 +129,19 @@ describe('Section Motion', () => { # B # --------------------` ); + + await editor.moveCursor(9, 1); + + await parMoveSelects( + {selectWhole: true, boundary: 'end'}, + ` + + joebob + bizzle + + # B + # --------------------` + ); }); it('Can move backwards by start', async () => {