mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Move config handling out of LanguageMode
This commit is contained in:
@@ -107,7 +107,7 @@ describe "LanguageMode", ->
|
||||
expect(languageMode.suggestedIndentForBufferRow(11)).toBe 1
|
||||
|
||||
it "does not take invisibles into account", ->
|
||||
atom.config.set('editor.showInvisibles', true)
|
||||
editor.setShowInvisibles(true)
|
||||
expect(languageMode.suggestedIndentForBufferRow(0)).toBe 0
|
||||
expect(languageMode.suggestedIndentForBufferRow(1)).toBe 1
|
||||
expect(languageMode.suggestedIndentForBufferRow(2)).toBe 2
|
||||
|
||||
Reference in New Issue
Block a user