cleanup
This commit is contained in:
parent
d578c63beb
commit
387790d94c
6 changed files with 82 additions and 71 deletions
|
|
@ -78,7 +78,9 @@ module.exports = {
|
|||
assert.ok(editor.inMultiSelectMode);
|
||||
assert.equal(editor.selection.getAllRanges().length, 4);
|
||||
|
||||
assert.equal(editor.getCopyText(), "wwww");
|
||||
var newLine = editor.session.getDocument().getNewLineCharacter();
|
||||
var copyText = "wwww".split("").join(newLine);
|
||||
assert.equal(editor.getCopyText(), copyText);
|
||||
exec("insertstring", 1, "a");
|
||||
exec("backspace", 2);
|
||||
assert.equal(editor.session.getValue(), "w1.w2\ntt\ntt");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue