summaryrefslogtreecommitdiff
path: root/test/test_linting_updates_loclist.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_linting_updates_loclist.vader')
-rw-r--r--test/test_linting_updates_loclist.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_linting_updates_loclist.vader b/test/test_linting_updates_loclist.vader
index 2e106d05..a73a5048 100644
--- a/test/test_linting_updates_loclist.vader
+++ b/test/test_linting_updates_loclist.vader
@@ -36,4 +36,8 @@ Execute(The loclist should be updated after linting is done):
call ale#engine#WaitForJobs(2000)
AssertEqual ['' . bufnr('%')], keys(g:ale_buffer_info)
+
+ let g:expected_data[0].match_id = getmatches()[0].id
+ let g:expected_data[1].match_id = getmatches()[1].id
+
AssertEqual g:expected_data, g:ale_buffer_info[bufnr('%')].loclist