Remove a now defunct test
This commit is contained in:
parent
e49e7d52bc
commit
ce89d93e1c
@ -1,74 +0,0 @@
|
||||
Execute(The after file should have been loaded for real):
|
||||
" FIXME: Fix these tests in NeoVim.
|
||||
if !has('nvim')
|
||||
Assert has_key(g:, 'loaded_ale_after'), 'g:loaded_ale_after was not set!'
|
||||
Assert g:loaded_ale_after
|
||||
endif
|
||||
|
||||
Before:
|
||||
silent! cd /testplugin/test
|
||||
cd ..
|
||||
unlet! g:loaded_ale_after
|
||||
|
||||
After:
|
||||
cd test
|
||||
let g:loaded_ale_after = 1
|
||||
let g:ale_emit_conflict_warnings = 1
|
||||
unlet! g:loaded_syntastic_plugin
|
||||
unlet! g:loaded_neomake
|
||||
unlet! g:loaded_validator_plugin
|
||||
|
||||
Execute(ALE should not warn when nothing extra is installed):
|
||||
" Nothing should be thrown when loading the after file.
|
||||
source after/plugin/ale.vim
|
||||
|
||||
Execute(ALE should warn users when Syntastic is installed):
|
||||
let g:loaded_syntastic_plugin = 1
|
||||
|
||||
AssertThrows source after/plugin/ale.vim
|
||||
AssertEqual
|
||||
\ 'ALE conflicts with Syntastic'
|
||||
\ . '. Uninstall it, or disable this warning with '
|
||||
\ . '`let g:ale_emit_conflict_warnings = 0` in your vimrc file, '
|
||||
\ . '*before* plugins are loaded.',
|
||||
\ g:vader_exception
|
||||
|
||||
Execute(ALE should not warn about Syntastic when the flag is set):
|
||||
let g:loaded_syntastic_plugin = 1
|
||||
let g:ale_emit_conflict_warnings = 0
|
||||
|
||||
source after/plugin/ale.vim
|
||||
|
||||
Execute(ALE should warn users when Neomake is installed):
|
||||
let g:loaded_neomake = 1
|
||||
|
||||
AssertThrows source after/plugin/ale.vim
|
||||
AssertEqual
|
||||
\ 'ALE conflicts with Neomake'
|
||||
\ . '. Uninstall it, or disable this warning with '
|
||||
\ . '`let g:ale_emit_conflict_warnings = 0` in your vimrc file, '
|
||||
\ . '*before* plugins are loaded.',
|
||||
\ g:vader_exception
|
||||
|
||||
Execute(ALE should not warn about Neomake when the flag is set):
|
||||
let g:loaded_neomake = 1
|
||||
let g:ale_emit_conflict_warnings = 0
|
||||
|
||||
source after/plugin/ale.vim
|
||||
|
||||
Execute(ALE should warn users when Validator is installed):
|
||||
let g:loaded_validator_plugin = 1
|
||||
|
||||
AssertThrows source after/plugin/ale.vim
|
||||
AssertEqual
|
||||
\ 'ALE conflicts with Validator'
|
||||
\ . '. Uninstall it, or disable this warning with '
|
||||
\ . '`let g:ale_emit_conflict_warnings = 0` in your vimrc file, '
|
||||
\ . '*before* plugins are loaded.',
|
||||
\ g:vader_exception
|
||||
|
||||
Execute(ALE should not warn about Validator when the flag is set):
|
||||
let g:loaded_validator_plugin = 1
|
||||
let g:ale_emit_conflict_warnings = 0
|
||||
|
||||
source after/plugin/ale.vim
|
Loading…
Reference in New Issue
Block a user