mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-18 19:11:36 -04:00
Merge from vscode e6a45f4242ebddb7aa9a229f85555e8a3bd987e2 (#9253)
* Merge from vscode e6a45f4242ebddb7aa9a229f85555e8a3bd987e2 * skip failing tests * remove github-authentication extensions * ignore github compile steps * ignore github compile steps * check in compiled files
This commit is contained in:
@@ -317,7 +317,7 @@ suite('Editor Contrib - Line Operations', () => {
|
||||
assert.equal(model.getLineContent(1), 'one');
|
||||
assert.deepEqual(editor.getSelection(), new Selection(1, 1, 1, 1));
|
||||
|
||||
editor.trigger('keyboard', Handler.Undo, {});
|
||||
CoreEditingCommands.Undo.runEditorCommand(null, editor, null);
|
||||
assert.equal(model.getLineContent(1), 'Typing some text here on line one');
|
||||
assert.deepEqual(editor.getSelection(), new Selection(1, 31, 1, 31));
|
||||
});
|
||||
@@ -447,7 +447,7 @@ suite('Editor Contrib - Line Operations', () => {
|
||||
assert.equal(model.getLineContent(1), 'hello my dear world');
|
||||
assert.deepEqual(editor.getSelection(), new Selection(1, 14, 1, 14));
|
||||
|
||||
editor.trigger('keyboard', Handler.Undo, {});
|
||||
CoreEditingCommands.Undo.runEditorCommand(null, editor, null);
|
||||
assert.equal(model.getLineContent(1), 'hello my dear');
|
||||
assert.deepEqual(editor.getSelection(), new Selection(1, 14, 1, 14));
|
||||
});
|
||||
@@ -815,13 +815,13 @@ suite('Editor Contrib - Line Operations', () => {
|
||||
new Selection(2, 4, 2, 4)
|
||||
]);
|
||||
|
||||
editor.trigger('tests', Handler.Undo, {});
|
||||
CoreEditingCommands.Undo.runEditorCommand(null, editor, null);
|
||||
assert.deepEqual(editor.getSelections(), [
|
||||
new Selection(1, 3, 1, 3),
|
||||
new Selection(1, 6, 1, 6),
|
||||
new Selection(3, 4, 3, 4)
|
||||
]);
|
||||
editor.trigger('tests', Handler.Redo, {});
|
||||
CoreEditingCommands.Redo.runEditorCommand(null, editor, null);
|
||||
assert.deepEqual(editor.getSelections(), [
|
||||
new Selection(1, 3, 1, 3),
|
||||
new Selection(2, 4, 2, 4)
|
||||
|
||||
Reference in New Issue
Block a user