mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Fix spec to expect whitespace to be removed
This commit is contained in:
@@ -2388,8 +2388,8 @@ describe "TextEditor", ->
|
||||
expect(cursor2.getBufferPosition()).toEqual [1, 24]
|
||||
|
||||
editor.deleteToNextWordBoundary()
|
||||
expect(buffer.lineForRow(0)).toBe 'var quicksort = () {'
|
||||
expect(buffer.lineForRow(1)).toBe ' var sort = function(it {'
|
||||
expect(buffer.lineForRow(0)).toBe 'var quicksort =() {'
|
||||
expect(buffer.lineForRow(1)).toBe ' var sort = function(it{'
|
||||
expect(cursor1.getBufferPosition()).toEqual [0, 15]
|
||||
expect(cursor2.getBufferPosition()).toEqual [1, 24]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user