Skip to content

Commit

Permalink
Fix test regression (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix authored and johnfn committed Aug 3, 2016
1 parent a7ec330 commit b7ec912
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions test/mode/normalModeTests/motions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,30 +88,30 @@ suite("Motions in Normal Mode", () => {
});

newTest({
title: "Can handle [)",
title: "Can handle ])",
start: ['({|})'],
keysPressed: '[)',
keysPressed: '])',
end: ['({}|)']
});

newTest({
title: "Can handle nested [)",
title: "Can handle nested ])",
start: ['(({|}))'],
keysPressed: '[)',
keysPressed: '])',
end: ['(({}|))']
});

newTest({
title: "Can handle <number>[)",
title: "Can handle <number>])",
start: ['(({|}))'],
keysPressed: '2[)',
keysPressed: '2])',
end: ['(({})|)']
});

newTest({
title: "Can handle [) and character under cursor exclusive",
title: "Can handle ]) and character under cursor exclusive",
start: ['(({}|))'],
keysPressed: '[)',
keysPressed: '])',
end: ['(({})|)']
});

Expand Down Expand Up @@ -144,30 +144,30 @@ suite("Motions in Normal Mode", () => {
});

newTest({
title: "Can handle [}",
title: "Can handle ]}",
start: ['{(|)}'],
keysPressed: '[}',
keysPressed: ']}',
end: ['{()|}']
});

newTest({
title: "Can handle nested [}",
title: "Can handle nested ]}",
start: ['{{(|)}}'],
keysPressed: '[}',
keysPressed: ']}',
end: ['{{()|}}']
});

newTest({
title: "Can handle <number>[}",
title: "Can handle <number>]}",
start: ['{{(|)}}'],
keysPressed: '2[}',
keysPressed: '2]}',
end: ['{{()}|}']
});

newTest({
title: "Can handle [} and character under cursor exclusive",
title: "Can handle ]} and character under cursor exclusive",
start: ['{{()|}}'],
keysPressed: '[}',
keysPressed: ']}',
end: ['{{()}|}']
});

Expand Down

0 comments on commit b7ec912

Please sign in to comment.