Merge remote-tracking branch 'AlexeiDrake/master' into bugfix/c-lsp-build-dir-settings

This commit is contained in:
w0rp
2019-08-18 18:28:58 +01:00
parent 91636cff06
commit 73812c3e41
7 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Before:
call ale#test#SetDirectory('/testplugin/test/fixers')
After:
Restore
call ale#test#RestoreDirectory()
Execute(The hindent callback should return the correct default values):
call ale#test#SetFilename('../haskell_files/testfile.hs')
AssertEqual
\ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('hindent')
\ . ' %t',
\ },
\ ale#fixers#hindent#Fix(bufnr(''))