mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
spec now checks if the cursors are the same, not their markers
This commit is contained in:
@@ -941,7 +941,7 @@ describe "TextEditor", ->
|
||||
it "returns the existing cursor", ->
|
||||
cursor1 = editor.addCursorAtScreenPosition([0, 2])
|
||||
cursor2 = editor.addCursorAtScreenPosition([0, 2])
|
||||
expect(cursor2.marker).toBe cursor1.marker
|
||||
expect(cursor2).toBe cursor1
|
||||
|
||||
describe "addCursorAtBufferPosition(bufferPosition)", ->
|
||||
describe "when a cursor already exists at the position", ->
|
||||
|
||||
Reference in New Issue
Block a user