File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1364,6 +1364,13 @@ describe "Operators", ->
13641364 keydown (" e" )
13651365 expect (editor .getText ()).toBe ' ABC\n XyZ'
13661366
1367+ editor .setCursorBufferPosition ([1 , 0 ])
1368+ keydown (" g" )
1369+ keydown (" U" , shift : true )
1370+ keydown (" $" )
1371+ expect (editor .getText ()).toBe ' ABC\n XYZ'
1372+ expect (editor .getCursorScreenPosition ()).toEqual [1 , 2 ]
1373+
13671374 it " makes the selected text uppercase in visual mode" , ->
13681375 keydown (" V" , shift : true )
13691376 keydown (" U" , shift : true )
@@ -1377,8 +1384,9 @@ describe "Operators", ->
13771384 it " makes text lowercase with g and motion" , ->
13781385 keydown (" g" )
13791386 keydown (" u" )
1380- keydown (" e " )
1387+ keydown (" $ " )
13811388 expect (editor .getText ()).toBe ' abc\n XyZ'
1389+ expect (editor .getCursorScreenPosition ()).toEqual [0 , 2 ]
13821390
13831391 it " makes the selected text lowercase in visual mode" , ->
13841392 keydown (" V" , shift : true )
You can’t perform that action at this time.
0 commit comments