mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Expect a single leading whitespace token w/ atomic soft tabs & indent guides disabled
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
committed by
Nathan Sobo
parent
e339aab590
commit
4f7b9e03c8
@@ -700,13 +700,9 @@ describe('TextEditorComponent', function () {
|
||||
runAnimationFrames()
|
||||
|
||||
let line2LeafNodes = getLeafNodes(component.lineNodeForScreenRow(2))
|
||||
expect(line2LeafNodes.length).toBe(3)
|
||||
expect(line2LeafNodes[0].textContent).toBe(' ')
|
||||
expect(line2LeafNodes.length).toBe(1)
|
||||
expect(line2LeafNodes[0].textContent).toBe(' ')
|
||||
expect(line2LeafNodes[0].classList.contains('indent-guide')).toBe(false)
|
||||
expect(line2LeafNodes[1].textContent).toBe(' ')
|
||||
expect(line2LeafNodes[1].classList.contains('indent-guide')).toBe(false)
|
||||
expect(line2LeafNodes[2].textContent).toBe(' ')
|
||||
expect(line2LeafNodes[2].classList.contains('indent-guide')).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user