diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-06 22:00:11 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-06 22:00:11 +0000 |
commit | 81c73da3b98455c4ad11f32208dac3dcfa6e0da7 (patch) | |
tree | 4b52d8ceb590c51c7a6facf11dd638f1614502a9 /test/test_format_temporary_file_creation.vader | |
parent | 3e11cbd18da3852fab5dee3f743bc60dc87f0775 (diff) | |
download | ale-81c73da3b98455c4ad11f32208dac3dcfa6e0da7.zip |
#2132 - lint and fix with ale#command#Run
A new function is added here which will later be modified for public use
in linter and fixer callbacks. All linting and fixing now goes through
this new function, to prove that it works in all cases.
Diffstat (limited to 'test/test_format_temporary_file_creation.vader')
-rw-r--r-- | test/test_format_temporary_file_creation.vader | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_format_temporary_file_creation.vader b/test/test_format_temporary_file_creation.vader index 385af908..10409400 100644 --- a/test/test_format_temporary_file_creation.vader +++ b/test/test_format_temporary_file_creation.vader @@ -13,6 +13,7 @@ Before: let g:ale_echo_cursor = 0 let g:ale_enabled = 1 let g:ale_run_synchronously = 1 + unlet! g:ale_run_synchronously_callbacks let g:ale_set_highlights = 0 let g:ale_set_loclist = 0 let g:ale_set_quickfix = 0 @@ -41,6 +42,7 @@ Before: After: Restore + unlet! g:ale_run_synchronously_callbacks unlet! g:output delfunction TestCallback @@ -56,5 +58,6 @@ Execute(ALE should be able to read the %t file): AssertEqual 'foobar', &filetype ALELint + call ale#test#FlushJobs() AssertEqual ['foo', 'bar', 'baz'], g:output |