diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-23 01:26:31 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-23 01:26:31 +0100 |
commit | 231398dddc59b01bc83f5a333af1ae741d31ed51 (patch) | |
tree | 1e5dab4cca104a01d11c7428e3c802296cb3bf31 /test/test_history_saving.vader | |
parent | c4579e1809d2ca40f917a4ccd665693ba0a33dcb (diff) | |
download | ale-231398dddc59b01bc83f5a333af1ae741d31ed51.zip |
Get more of the tests to pass on Windows
Diffstat (limited to 'test/test_history_saving.vader')
-rw-r--r-- | test/test_history_saving.vader | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_history_saving.vader b/test/test_history_saving.vader index dc7ce0d7..020ceb53 100644 --- a/test/test_history_saving.vader +++ b/test/test_history_saving.vader @@ -67,7 +67,10 @@ Execute(History should be set when commands are run): call ale#Lint() call ale#engine#WaitForJobs(2000) - let g:history = ale#history#Get(bufnr('')) + let g:history = filter( + \ copy(ale#history#Get(bufnr(''))), + \ 'v:val.job_id isnot# ''executable''', + \) AssertEqual 1, len(g:history) AssertEqual sort(['status', 'exit_code', 'job_id', 'command']), sort(keys(g:history[0])) |