Get more of the tests to pass on Windows

This commit is contained in:
w0rp committed 2017-10-23 01:26:31 +01:00
1 parent c4579e1809
commit 231398dddc
11 files changed
+105 -48

No files matched your search

+4 -1
View File
@@ -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]))