mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use tab char
This commit is contained in:
@@ -92,7 +92,7 @@ describe "DisplayBuffer", ->
|
||||
|
||||
describe "when there are hard tabs", ->
|
||||
beforeEach ->
|
||||
buffer.setText(buffer.getText().replace(new RegExp(' ', 'g'), ' '))
|
||||
buffer.setText(buffer.getText().replace(new RegExp(' ', 'g'), '\t'))
|
||||
|
||||
it "correctly tokenizes the hard tabs", ->
|
||||
expect(displayBuffer.lineForRow(3).tokens[0].isHardTab).toBeTruthy()
|
||||
|
||||
Reference in New Issue
Block a user