mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Correct indentation
This commit is contained in:
@@ -26,7 +26,7 @@ class CompositeCommand
|
||||
errorMessages = @errorMessagesForOperations(operations)
|
||||
|
||||
if currentCommand.previewOperations
|
||||
deferred.resolve({operationsToPreview: operations, errorMessages})
|
||||
deferred.resolve({operationsToPreview: operations, errorMessages})
|
||||
else
|
||||
bufferRanges = []
|
||||
errorMessages = @errorMessagesForOperations(operations)
|
||||
|
||||
@@ -94,12 +94,12 @@ describe "StatusBar", ->
|
||||
expect(statusBar.bufferModified.text()).toBe '*'
|
||||
|
||||
it "doesn't update the buffer modified indicator for the old buffer", ->
|
||||
oldBuffer = editor.getBuffer()
|
||||
expect(statusBar.bufferModified.text()).toBe ''
|
||||
rootView.open(require.resolve('fixtures/sample.txt'))
|
||||
oldBuffer.setText("new text")
|
||||
advanceClock(buffer.stoppedChangingDelay)
|
||||
expect(statusBar.bufferModified.text()).toBe ''
|
||||
oldBuffer = editor.getBuffer()
|
||||
expect(statusBar.bufferModified.text()).toBe ''
|
||||
rootView.open(require.resolve('fixtures/sample.txt'))
|
||||
oldBuffer.setText("new text")
|
||||
advanceClock(buffer.stoppedChangingDelay)
|
||||
expect(statusBar.bufferModified.text()).toBe ''
|
||||
|
||||
describe "when the associated editor's cursor position changes", ->
|
||||
it "updates the cursor position in the status bar", ->
|
||||
|
||||
@@ -463,7 +463,7 @@ describe "TreeView", ->
|
||||
treeView.trigger 'core:move-to-bottom'
|
||||
expect(treeView.root.find('.entry:last')).toHaveClass 'selected'
|
||||
|
||||
describe "core:page-up", ->
|
||||
describe "core:page-up", ->
|
||||
it "scrolls up a page", ->
|
||||
treeView.height(5)
|
||||
treeView.attachToDom()
|
||||
|
||||
Reference in New Issue
Block a user