update tests

This commit is contained in:
nightwing 2013-11-24 16:47:32 +04:00
commit 70bc7d7dc0
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);