mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Remove unnecessary construction of new editor
This commit is contained in:
@@ -2600,8 +2600,6 @@ describe "Editor", ->
|
||||
|
||||
describe "editor-path-change event", ->
|
||||
it "emits event when buffer's path is changed", ->
|
||||
editor = new Editor
|
||||
|
||||
eventHandler = jasmine.createSpy('eventHandler')
|
||||
editor.on 'editor-path-change', eventHandler
|
||||
editor.buffer.setPath("moo.text")
|
||||
|
||||
Reference in New Issue
Block a user