mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
✅ Write a more comprehensive spec
This commit is contained in:
@@ -133,6 +133,7 @@ describe "DisplayBuffer", ->
|
||||
atom.config.set('editor.softWrapHangingIndent', 3)
|
||||
|
||||
it "further indents wrapped lines", ->
|
||||
expect(displayBuffer.tokenizedLineForScreenRow(10).text).toBe " return "
|
||||
expect(displayBuffer.tokenizedLineForScreenRow(11).text).toBe " sort(left).concat(pivot).concat(sort(right)"
|
||||
expect(displayBuffer.tokenizedLineForScreenRow(12).text).toBe " );"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user