From dc44cda61aa2ce8ca87af73ffd74deb0423fdc36 Mon Sep 17 00:00:00 2001 From: Benjamin Gray Date: Wed, 21 Nov 2018 17:26:21 +1100 Subject: [PATCH] See how this goes --- spec/text-editor-spec.js | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/spec/text-editor-spec.js b/spec/text-editor-spec.js index 4256e4810..012cf42c1 100644 --- a/spec/text-editor-spec.js +++ b/spec/text-editor-spec.js @@ -7318,16 +7318,29 @@ describe('TextEditor', () => { it('does not select the new delimiters when the option is set'), () => { let delimLength = '') + selection.toggleLineComments() expect(selection.isEmpty() && selection.getBufferRange().start.column === 0).toBe(true) selection.toggleLineComments() expect(selection.isEmpty() && selection.getBufferRange().start.column === delimLength).toBe(true) - selection.setBufferRange([[0, delimLength], [0, '