chang fishindent to fish_indent

This commit is contained in:
cyy
2020-10-07 14:04:43 +07:00
parent 194660660d
commit a49f664aea
4 changed files with 15 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
Before:
Save g:ale_fish_fishindent_executable
Save g:ale_fish_fishindent_options
Save g:ale_fish_fish_indent_executable
Save g:ale_fish_fish_indent_options
" Use an invalid global executable, so we don't match it.
let g:ale_fish_fishindent_executable = 'xxxinvalid'
let g:ale_fish_fishindent_options = ''
let g:ale_fish_fish_indent_executable = 'xxxinvalid'
let g:ale_fish_fish_indent_options = ''
call ale#test#SetDirectory('/testplugin/test/fixers')
@@ -26,7 +26,7 @@ Execute(The fish_indent callback should return the correct default values):
\ ale#fixers#fish_indent#Fix(bufnr(''))
Execute(The fish_indent callback should include custom fish_indent options):
let g:ale_fish_fishindent_options = "-d"
let g:ale_fish_fish_indent_options = "-d"
call ale#test#SetFilename('../fish_files/testfile.fish')
AssertEqual