Skip to content

Commit ecc0167

Browse files
committed
added test to verify new functionality
1 parent ba0f269 commit ecc0167

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/mode/modeVisual.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ suite('Mode Visual', () => {
2323
assert.strictEqual(modeHandler.vimState.currentMode, Mode.Normal);
2424
});
2525

26+
newTest({
27+
title: 'gv while in visual mode exhanges the previous visual area with current area',
28+
start: ['|abcd'],
29+
keysPressed: 'vyllvgvlp',
30+
end: ['|acd'],
31+
});
32+
2633
newTest({
2734
title: '[count]v',
2835
start: ['a|bcde'],

0 commit comments

Comments
 (0)