Skip to content

Commit 30b6276

Browse files
committed
Fix #1630
1 parent 5c03f4a commit 30b6276

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/mode/modeNormal.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,14 @@ suite("Mode Normal", () => {
798798
endMode: ModeName.Normal
799799
});
800800

801+
newTest({
802+
title: "Can handle 'diw' on trailing spaces at the end of line",
803+
start: ['one two three | ', 'five six'],
804+
keysPressed: 'diw',
805+
end: ['one two thre|e', 'five six'],
806+
endMode: ModeName.Normal
807+
});
808+
801809
newTest({
802810
title: "Can handle 'diw' on word with numeric prefix and across lines",
803811
start: ['one two three, fo|ur ', 'five six'],

0 commit comments

Comments
 (0)