mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Give gutter line highlighting its own describe
This commit is contained in:
committed by
Kevin Sawicki
parent
0059accaa4
commit
9361b0717c
@@ -1595,6 +1595,11 @@ describe "Editor", ->
|
||||
expect(miniEditor.getCursorBufferPosition().row).toBe 0
|
||||
expect(miniEditor.find('.line.cursor-line').length).toBe 0
|
||||
|
||||
|
||||
describe "gutter line highlighting", ->
|
||||
beforeEach ->
|
||||
editor.attachToDom(heightInLines: 5.5)
|
||||
|
||||
describe "when there is no wrapping", ->
|
||||
it "highlights the line where the initial cursor position is", ->
|
||||
expect(editor.getCursorBufferPosition().row).toBe 0
|
||||
|
||||
Reference in New Issue
Block a user