mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Update spec for new hard tab span text length
This commit is contained in:
parent
365d69a19c
commit
433b64d581
@ -1158,7 +1158,8 @@ describe "EditorView", ->
|
||||
line0 = editorView.renderedLines.find('.line:first')
|
||||
span0_0 = line0.children('span:eq(0)').children('span:eq(0)')
|
||||
expect(span0_0).toMatchSelector '.hard-tab'
|
||||
expect(span0_0.text()).toBe ' '
|
||||
expect(span0_0.text()).toBe ' '
|
||||
expect(span0_0.text().length).toBe editor.getTabLength()
|
||||
|
||||
it "wraps leading whitespace in a span", ->
|
||||
line1 = editorView.renderedLines.find('.line:eq(1)')
|
||||
|
Loading…
Reference in New Issue
Block a user