mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
fix another linter error
This commit is contained in:
parent
557562d8c8
commit
db84b7952c
@ -149,13 +149,13 @@ describe "Editor", ->
|
||||
|
||||
describe "path", ->
|
||||
it "notifies ::onDidChangePath observers when the underlying buffer path changes", ->
|
||||
observed = []
|
||||
editor.onDidChangePath (filePath) -> observed.push(filePath)
|
||||
observed = []
|
||||
editor.onDidChangePath (filePath) -> observed.push(filePath)
|
||||
|
||||
buffer.setPath('/foo/bar/baz.txt')
|
||||
buffer.setPath(undefined)
|
||||
buffer.setPath('/foo/bar/baz.txt')
|
||||
buffer.setPath(undefined)
|
||||
|
||||
expect(observed).toEqual ['/foo/bar/baz.txt', undefined]
|
||||
expect(observed).toEqual ['/foo/bar/baz.txt', undefined]
|
||||
|
||||
describe "cursor", ->
|
||||
describe ".getLastCursor()", ->
|
||||
|
Loading…
Reference in New Issue
Block a user