Fix emoji test

This commit is contained in:
Daniel Imms
2018-06-29 11:25:17 -07:00
parent 835d5a16ea
commit e628a9be76
+3 -3
View File
@@ -425,9 +425,9 @@ describe('SelectionManager', () => {
// TODO the case this is testing works for me in the demo webapp,
// but doing it programmatically fails.
buffer.lines.length = 3;
buffer.lines.set(0, stringToRow('a'));
buffer.lines.set(1, stringToRow('😁'));
buffer.lines.set(2, stringToRow('c'));
buffer.lines.set(0, stringToRow('a '));
buffer.lines.set(1, stringArrayToRow(['😁', ' ']));
buffer.lines.set(2, stringToRow('c '));
selectionManager.selectionMode = SelectionMode.COLUMN;
selectionManager.model.selectionStart = [0, 0];