mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-08 08:07:32 +03:00
Remove spec that can be covered in text-buffer specs
This commit is contained in:
parent
e8216a8313
commit
9efc326ff3
@ -2059,12 +2059,6 @@ describe "EditSession", ->
|
||||
editSession.setCursorScreenPosition([0, 1])
|
||||
editSession.buffer.reload()
|
||||
expect(editSession.getCursorScreenPosition()).toEqual [0,1]
|
||||
it "preserves the current state if the file was not saved yet", ->
|
||||
editSession.destroy()
|
||||
editSession = project.buildEditSession(null, autoIndent: false)
|
||||
editSession.buffer.setText('test')
|
||||
editSession = EditSession.deserialize(editSession.serialize())
|
||||
expect(editSession.buffer.getText()).toBe('test')
|
||||
|
||||
describe "when the 'grammars-loaded' event is triggered on the syntax global", ->
|
||||
it "reloads the edit session's grammar and re-tokenizes the buffer if it changes", ->
|
||||
|
Loading…
Reference in New Issue
Block a user