mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
This is tested implicitly everywhere
This commit is contained in:
@@ -16,13 +16,6 @@ describe "Selection", ->
|
||||
selectionView = editor.getSelectionView()
|
||||
selection = editor.getSelection()
|
||||
|
||||
describe ".setBufferRange(range)", ->
|
||||
it "places the anchor at the start of the range and the cursor at the end", ->
|
||||
range = new Range({row: 2, column: 7}, {row: 3, column: 18})
|
||||
selection.setBufferRange(range)
|
||||
expect(selection.anchor.getScreenPosition()).toEqual range.start
|
||||
expect(selection.cursor.getScreenPosition()).toEqual range.end
|
||||
|
||||
describe ".deleteSelectedText()", ->
|
||||
describe "when nothing is selected", ->
|
||||
it "deletes nothing", ->
|
||||
|
||||
Reference in New Issue
Block a user