#NEWLINE# def testCanDeleteMultipleEmptyLines( self ) : #NEWLINE# #INDENT# self . write ( 'abc\n\n\n\nabc\nabc' ) #NEWLINE# self . clear_sel ( ) #NEWLINE# self . add_sel ( self . R ( ( 0 , 0 ) , ( 0 , 0 ) ) ) #NEWLINE# self . range [ 'left_offset' ] = 2 #NEWLINE# self . range [ 'right_offset' ] = 4 #NEWLINE# self . range [ 'text_range' ] = '2,4' #NEWLINE# self . view . run_command ( 'ex_delete' , { #NEWLINE# #INDENT# 'line_range' : self . range , #NEWLINE# #UNINDENT# } ) #NEWLINE# expected = 'abc\nabc\nabc' #NEWLINE# actual = self . view . substr ( self . R ( 0 , self . view . size ( ) ) ) #NEWLINE# self . assertEqual ( self , actual )