Use tab char

This commit is contained in:
Ben Ogle
2013-12-16 15:50:26 -08:00
parent b959fc0a6a
commit 75153388cc

View File

@@ -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()