update tests
This commit is contained in:
parent
9b8e236483
commit
70bc7d7dc0
2 changed files with 2 additions and 2 deletions
|
|
@ -281,7 +281,7 @@ function Folding() {
|
||||||
|
|
||||||
// --- Some checking ---
|
// --- Some checking ---
|
||||||
if (!(startRow < endRow ||
|
if (!(startRow < endRow ||
|
||||||
startRow == endRow && startColumn < endColumn - 2))
|
startRow == endRow && startColumn <= endColumn - 2))
|
||||||
throw new Error("The range has to be at least 2 characters width");
|
throw new Error("The range has to be at least 2 characters width");
|
||||||
|
|
||||||
var startFold = this.getFoldAt(startRow, startColumn, 1);
|
var startFold = this.getFoldAt(startRow, startColumn, 1);
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ module.exports = {
|
||||||
MultiSelect(editor);
|
MultiSelect(editor);
|
||||||
|
|
||||||
editor.navigateFileEnd();
|
editor.navigateFileEnd();
|
||||||
exec("selectMoreBefore", 4);
|
exec("selectMoreBefore", 3);
|
||||||
assert.ok(editor.inMultiSelectMode);
|
assert.ok(editor.inMultiSelectMode);
|
||||||
assert.equal(editor.selection.getAllRanges().length, 4);
|
assert.equal(editor.selection.getAllRanges().length, 4);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue