This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,17 +109,17 @@ describe('Whitespace', () => {
109
109
describe ( "when 'whitespace.ignoreWhitespaceOnCurrentLine' is true" , ( ) => {
110
110
beforeEach ( ( ) => atom . config . set ( 'whitespace.ignoreWhitespaceOnCurrentLine' , true ) )
111
111
112
- describe ( " respects multiple cursors" , ( ) => {
113
- it ( " removes the whitespace from all lines, excluding the current lines" , async ( ) => {
114
- editor . insertText ( " 1 \n2 \n3 \n" )
112
+ describe ( ' respects multiple cursors' , ( ) => {
113
+ it ( ' removes the whitespace from all lines, excluding the current lines' , async ( ) => {
114
+ editor . insertText ( ' 1 \n2 \n3 \n' )
115
115
editor . setCursorBufferPosition ( [ 1 , 3 ] )
116
116
editor . addCursorAtBufferPosition ( [ 2 , 3 ] )
117
117
await editor . save ( )
118
- expect ( editor . getText ( ) ) . toBe ( " 1\n2 \n3 \n" )
118
+ expect ( editor . getText ( ) ) . toBe ( ' 1\n2 \n3 \n' )
119
119
} )
120
120
} )
121
121
122
- describe ( " when buffer is opened in multiple editors" , ( ) => {
122
+ describe ( ' when buffer is opened in multiple editors' , ( ) => {
123
123
let editor2
124
124
beforeEach ( async ( ) => {
125
125
editor2 = atom . workspace . buildTextEditor ( { buffer : editor . buffer } )
You can’t perform that action at this time.
0 commit comments