summaryrefslogtreecommitdiff
path: root/test/test_history_saving.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-23 01:26:31 +0100
committerw0rp <devw0rp@gmail.com>2017-10-23 01:26:31 +0100
commit231398dddc59b01bc83f5a333af1ae741d31ed51 (patch)
tree1e5dab4cca104a01d11c7428e3c802296cb3bf31 /test/test_history_saving.vader
parentc4579e1809d2ca40f917a4ccd665693ba0a33dcb (diff)
downloadale-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.vader5
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]))